Skip to main content
Solved

Extract Bing Map extracts based on coordinates list

  • August 15, 2014
  • 1 reply
  • 21 views

Forum|alt.badge.img
Hi,

 

 

I could you with some pointers on how to extract out a series of aerial jpegs from Bing Maps centered on a Excel list of coordinates,i.e. one 100m x 100m per x/y coordinate.  Is the HTTPFetcher a good starting point?  I will probably need to extract out the same images from Google Maps at a later date.  We have an enterprise license for both Bing and Google.

 

 

Thanks very much.

Best answer by jdh

Your best bet may be to use the static map APIs

 

Bing: http://msdn.microsoft.com/en-us/library/ff701724.aspx

 

Google:  https://developers.google.com/maps/documentation/staticmaps/

 

 

Read in your excel file, generate the url based on the xy coordinate and zoom level using a stringConcatenator and pass to the HTTPFetcher.  A decelerator may be necessary.

 

 

Depending on the coordinate system of your XY points you may need to convert them first.

 

 

I've never used Bing, but for google the target URL for the HTTPFetcher was:

 

http://maps.googleapis.com/maps/api/staticmap?center=@Value(_y),@Value(_x)&size=@Value(size)x@Value(size)&zoom=@Value(zoom)&maptype=satellite

 

 

where _y and _x is my center point lat and long values

 

size is the number of pixels of the resultant image

 

zoom is the required zoom level
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

1 reply

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • Best Answer
  • August 15, 2014
Your best bet may be to use the static map APIs

 

Bing: http://msdn.microsoft.com/en-us/library/ff701724.aspx

 

Google:  https://developers.google.com/maps/documentation/staticmaps/

 

 

Read in your excel file, generate the url based on the xy coordinate and zoom level using a stringConcatenator and pass to the HTTPFetcher.  A decelerator may be necessary.

 

 

Depending on the coordinate system of your XY points you may need to convert them first.

 

 

I've never used Bing, but for google the target URL for the HTTPFetcher was:

 

http://maps.googleapis.com/maps/api/staticmap?center=@Value(_y),@Value(_x)&size=@Value(size)x@Value(size)&zoom=@Value(zoom)&maptype=satellite

 

 

where _y and _x is my center point lat and long values

 

size is the number of pixels of the resultant image

 

zoom is the required zoom level

Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings