I am building webApp with openlayers that contain a map that allowed insert edit and remove points, my map is now using “EPSG:4326" projection. I have shp files and xlsx files that contain polygons and points that I need to insert as layer in the map. The problem is that the shp files use 2309 projection , this is Israel tm grid projection that open layer doesn't recognize. How do I transfer this points/polygons to the 4326 projection? I found this: http://spatialreference.org/ref/epsg/2039/html/ But I don't know if its can be helpful, or how...
0
votes
1 Answers
1
votes
You can convert shp files to GML (or KML, or GeoJSON)
- with commad ogr2ogr http://linux.die.net/man/1/ogr2ogr, it is possible to specify projection transformation as well.
- with free Quantum GIS (qgis) application, example is here.
To import xlsx file to GML/KML you can use Quantum Gis as well. This is nice tutorial.
If you choose to use GML with openlayers, see documentation, if you want to use KML see documantation here, but I would choose GeoJSON, because it is smaller, it can be natively read by JavaScript.