I've got building "footprints" in WGS84. Based on a regular grid I've
got to produce Collada "tiles" containing 3D buildings (extruded
footprints). These collada files are finally referenced by KML files
to produce a kmz dataset.
Everything is working quite fine. However my first tests have shown
gaps in GE between the aerial photography layer and my Collada
buildings. What should be the best strategy to convert WGS84 polygon
coordinates to local Collada coordinates ? What is best way to take
into account the ellipsoidic shape of the earth for GE ?
Thanx in advance
Franck
One option would be to import them into Google SketchUp and use SketchUp to do final placement.
Related
I have discovered the floMAT library for determining the medial axis transform of 2D shapes. It looks realy great but I wonder if there is any simple way to export the MAT data in a text file. I only succeeded to get outputs as images. Thanks in advance for help.
I am working on a project where Users can interact with a Map via mouse click to see more details of an area. It is Perth Metropolitan Area Map. This Map is generated from PDF using online "PDF to SVG converter".
When I looked at generated SVG code it is so huge can't understand full of it. and did some research to see if i can find any simpler version of the Map, I see there are various options to construct SVG, detailed below.
Shapefiles : Creating maps based on real world data, I thought this is good option to go. but the problem I observed here is we need to depend on GIS tools and open databases where GIS data is available. It is too heavy for our requirement.
Geo JSON / Topo JSON : I see this is simple way to represent Maps in plain, but I could not figure out a way to generate required JSON files. After exploring more on this I understood these technologies are dependent on GIS / Shapefiles.
Inscape : UI editor to draw SVG - It is just generating lot of SVG code again.
After reviewing above all I kind of thinking may be I should learn to write own SVG map.
Can somebody advice whether I am in right direction or Are there any simple approaches to create a Map like this Perth Metropolitan Area Map ?
Thanks in advance.
I have a geotiff that I have been working with in tilemill and I would like to select portions (buildings) in the map and create new layers as geojson objects. My issue is I don't know how to get the coordinates to create the objects!
http://chimera.labs.oreilly.com/books/1230000000345/ch12.html#_choropleth
this is a link to what I'm trying to do with states I just need the step where the coordinates are gotten because it doesn't seem to be in this document, they just give a shout to the guy who defined them. If anyone has done something similar to this, please give me a shout!
Update
I am not looking for the coordinates to the US, I have a fictional map that I am working from.
TileMill is a tool for visualizing data and creating map tiles - it isn't designed for creating or digitizing tasks. You'll want to export your map to Mapbox (or another MBTiles-supporting server), and use a tool like Mapbox's map editor or geojson.io to create GeoJSON overlays on top of it.
I have a KML file (NewYork.kml) which has assets listed in co-ordinates (inside LineStrings) in the New York region.
I am trying to pick a random point in New York (For example: 40.739974,-74.009605) and get any assets listed within a 500ft range.
I am working with Java/Google Earth API. Does anyone have any tips on which direction to go?
I'd recommend the geojs library, in particular the geo.Point class.
It has useful methods like distance() that you could use to see if two coordinates are within 500ft of each other.
I'm using http://www.zonums.com/shp2kml.html to convert a SHP file to a KML for integration into Google Fusion Tables.
I'm able to do this successfully with many shp files, but am having a particular problem with one particular SHP file.
http://www.electionsquebec.qc.ca/documents/zip/shapefile-sections-de-vote-elections-generales-2008.zip
When I create the KML file and open it in Google Earth, the actual boundaries are somewhere in the Pacific Ocean (rather than actually outlining the province of Quebec). The shape is fine, it's just the whole actual shape is shifted to the Pacific Ocean. I'm wondering if it has to do with the UTM..or something with the coordinates. I've tried different zones, different Datum...nothing works. Help?
I used shpescape, it gave me this which looks right to me. you must be doing something wrong with shp2kml.
I'm not familiar w/shp2kml but according to the homepage it can accept Lat/Lng, or UTM based projections. The shapefile in question, however, is in a Lambert equal area projection, which I assume is not supported (check the .prj file to see details).
As noted in the other answer, shpescape.com should work for this use case -- it does transformations with the proj4 library, and this projection is supported.