Message Boards Message Boards

0
|
16278 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:

How to get a polygon for an area in GPS coordinates? (prefer in W.Alpha)

Posted 10 years ago

Hi all,

I am wondering if it is at all possible to query Wolfram Alpha for a city and receive in return a polygon of GPS coordinates that cover the area of the city.

Thanks,

POSTED BY: Pierre Pierre
2 Replies

I too would like to extract information from a polygon and am having trouble. Assume the polygon outlines a county or parish. For example;

GeoGraphics[{Edgeform[Black],GeoStyling["ReliefMap"],Polygon[East Baton Rouge (administrative division)]},GeoBackground->None]

generates a pretty cool outlined releif map. Double clicking inside the map highlight what must be the nodes of the polygon. The heights represented inside the relief map must have location data (Lat, lon?) to know where to illustrate the point.

To continue with my efforts I would like to use those locations, perform some calculation with the representative height and present the result instead of the height.

I cannot figure out how to extract the lat, lon or X,Y data. Any help would be appreciated. JAC

In Mathematica using the Wolfram Language, the query is:

Entity["City", {"Chicago", "Illinois", "UnitedStates"}]["Polygon"]

This is probably an example of something you'd use Mathematica for.

POSTED BY: Sean Clarke
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract