Posted By Val on 01-28-2011 09:16 AM
It depends in what projection your shapefiles are natively in. For example in the sample “Shapefile to Google Map”, the internal projection of the shapefile is in WGS84 (Long/Lat). So we apply the projection conversion to go from WGS84 to Spherical Mercator (the projection of Google Map). For your case, you need to determine the projection of your shapefiles which is often included in the PRJ file of each shapefile and you can get the Code to be used with Proj4 in the website spatial-reference.org. If you don’t have the PRJ file, you can ask your data provider about the projection. Finally, if you don’t have anything, by knowing the geographical extent of your shapefile, it usually can be guessed by trial and error in what projection it is such as State Plane or UTM. If you are still confused, please send us one of your shapefiles with all its accompanying files (such as PRJ file if it has it) and we will guide you for your specific case. Thank you.
Thanks for replying…
I am developing application in which i have to overlay Shapefiles over Google Maps. I am sending you two shapefiles, one is “stockholm_buildings” which successfully overlays on google map at correct location and other is “stockholm_nacka”, which is shapefile of nacka area in stockholm. This file “stockholm_nacka” could not display over Google Map at its correct location. I also tried to re-project this shapefile to google map projection, but it do not display. Secondly, My original shapefiles does’t have .prj file. But i use MapWindow (open source) tool to re-project my shapefiles and then .prj files are automatically created.
you please check and fix the problem. and guide me which projection should i use for my shapefiles so that i can overlay them over google maps at their correct locations.
Thanks and BR
Stockholm_Nacka.zip (91.3 KB)