Friday, January 27, 2012 6:40 PM
I need to find some way to create polygons from an ESRI/arcGIS Shapefile. I've tried multiple methods, but the KML seems to be the way to go. However, I'm still having issues.
On arcServer, I've added the layers and saved the map.(using arcMap.) I then published the service, as a web service, and have enabled KML.
Now, in Google Earth the layers show up correctly. However, in BING, the only time any object/polygon gets loaded is when i create a 'Bookmark' in arcMap. The bookmarks seem to be rather useless, considering I cannot bookmark an entire layer.
This is the URL for my KML: http://220.127.116.11/ArcGIS/services/NPF_new_coordSystem/MapServer/KmlServer
And this is my bing maps 6.3 AJAX code:
The only thing I really need to do, is draw the boundaries of every single entity that's in that layer, and then put that onto bing Maps. I've also tried tile layers, though with the immense geographic coverage of my shapefile, i'd be generated roughly 6.9 billion images.(That's only using 14 out of the 18 zooms)
Has anybody had this problem? Any and all help is greatly appreciated. When we scoped this project we didn't think it'd be near this difficult. Creating polygons is rather simple. If only you could extract LocationRect objects from the shapefile?(in my dreams)
Sunday, January 29, 2012 3:17 AMOwner
Is your KML file publically available? Bing Maps V6.3 loads in your KMl file by parsing it on a server and then passing in the data it needs to render it on the map. If your kml file is not publically available then this won't work.
That said a nice way to integrate ESRI shapefiles with Bing Maps is to inport it into a SQL 2008 or SQL Azure database using Shape2SQL then using the AJAX Map Data Connector to load the data on Bing Maps. The data connector lets you load the data as vector or raster (tiles) on the map. http://ajaxmapdataconnector.codeplex.com/
Thursday, February 16, 2012 5:58 PMDid you get ArcGIS KML service to work with Bing? Im trying to add a point service and I can't get it to work.