Tag Info

New answers tagged

9

The polygon of interest is state = Entity["AdministrativeDivision", {"Illinois", "UnitedStates"}]; (polygon = state["Polygon"]) // Short (* Polygon[GeoPosition[{{{36.9821, -89.1329}, <<187>> ,{36.9821, -89.1329}}}]] *) however that expression is not a valid region RegionQ[polygon] (* False *) because the argument of Polygon[] is not a ...


2

I think your problem is that you have coordinates that have been projected onto a cartesian system, I'm guessing a US state-plane system. Mathematica can deal with these, you just have to tell it what it's looking at. So suppose these are from NY, in the eastern section. Then test2 = test /. coords : {__?NumberQ} :> GeoPosition @ GeoGridPosition[coords, ...


4

Your lat/long data pairs look like {523679., 632989.} which appear to be in some form of DMS form (ddmmss., ddmmss.}. However, I believe that these are being interpreted as decimal degrees. Converting to decimal degrees (simplified conversion used assuming longitude is even number of digits consistent with your data): data = test /. x_?NumericQ :> ...



Top 50 recent answers are included