I think shpescape.com is an excellent site and my comment was poorly written and probably offtopic as far as the site goes (despite a personal preference for using tools that can reside on my desktop in some cases to mesh better with my own lack of workflow).
Ultimately I expect that shpescape will be integrated into Fusion Tables, which is a fantastic product, so I don't mean to be critical of the site. Even using ogr2ogr, the issue that was the root cause of my frustration is not solved and that is: how does one use kml files that incorporate <MultiGeometry> throught the Google Maps JavaScript API v3 ? Shpescape and the other tools that I've seen do a fine job of creating kml files - as long as they don't include a lot of <MultiGeometry> features. An example is at the fusion table: http://www.google.com/fusiontables/DataSource?dsrcid=763991&pli=1, which displays well in Google Earth, but chokes in Google Maps. The file was converted perfectly by shpescape as far as I can tell, but because it uses <MultiGeometry> to display the <LineString> elements, Google Maps using Fusion Tables layers displays what are supposed to be bus routes as incomplete disconnected segments. So to get back to shpescape and ogr2ogr ... is it possible to convert <MultiGeometry> collections of <LineString> features into <LineString> features? That is, say you have 80 bus routes and each one is comprised of 100 <MultiGeometry> features, each which includes several hundered <LineString> features ... can they be combined so you end up with 80 <LineString> features alone? Can the individual <LineString> features that comprise the <MultiGeometry> elements be concantenated together when they share common starting and ending points so you don't end up with spaghetti? Apologies if this is off-topic, long winded, and/or confusing ... cheers. On Apr 27, 11:18 am, Chris Broadfoot <c...@google.com> wrote: > Why didn't it work very well? Can you link us to the generated Fusion Table > and the SHP file? > > On Wed, Apr 27, 2011 at 2:57 AM, Bob Torzynski <rtorzyn...@gmail.com> wrote: > > I tried shpescape.com but it didn't seem to work too well for me. A > > better bet IMHO is available athttp://fwtools.maptools.org/- which > > provides ogr2ogr.exe (look in the FWTools package). This lets you do > > the transformation on your own computer. I've transformed a number of > > Census 2010 polygons (e.g., the polygons for the block groups for > > Monroe County, New York and the points for the block group centroids > > for the entire state) from *shp to *kml with little difficulty. > > Ogr2ogr works better than ArcGIS 9.3 as well for the transformation, > > IMHO. Good Luck! > > > On Apr 26, 10:16 pm, "geocode...@gmail.com" <geocode...@gmail.com> > > wrote: > > > On Apr 26, 6:49 pm, Austin <austin.cond...@gmail.com> wrote: > > > > > I have a shp dbf and shx file that I downloaded from the US Census > > > > Bureau that I need to include in my map. It has polygons and overlay > > > > information that need to be displayed in my map. How can I include > > > > these with the API? Thanks! > > > > Have you seen FusionTables? > > > And this tool:http://www.shpescape.com/ > > > > Lets you import shapefiles into them. Then you can display it on a v3 > > > API map using FusionTablesLayer > > > > -- Larry > > > -- > > You received this message because you are subscribed to the Google Groups > > "Google Maps JavaScript API v3" group. > > To post to this group, send email to > > google-maps-js-api-v3@googlegroups.com. > > To unsubscribe from this group, send email to > > google-maps-js-api-v3+unsubscr...@googlegroups.com. > > For more options, visit this group at > >http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > --http://twitter.com/broady -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to google-maps-js-api-v3@googlegroups.com. To unsubscribe from this group, send email to google-maps-js-api-v3+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.