Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been given some shapefiles WITHOUT a projection. So I need to add the projection in order to display it on google map. I found the projection information I need at

How can I add the projection using an open source method (don't have access to ESRI's software)?


share|improve this question

Use ogr2ogr from GDAL:

ogr2ogr -a_srs EPSG:2066 output.shp input.shp

What's neat about ogr is that it can use an existing PRJ file as input as well:

ogr2ogr -a_srs input.prj output.shp input.shp

share|improve this answer
I'm getting the following error when I try the utility above: "Can't transform coordinates, source layer has no coordinate system. Use -s_srs to set one." – ChrisJ Feb 3 '12 at 20:53
@chris I wrote the wrong usage, so try a_srs to "assign" an output projection – SaultDon Feb 3 '12 at 21:44
Didn't know you could supply a .prj to -a_srs. Thanks! – aendrew Jan 27 '15 at 17:54

Projection in .shp file is in shapefilename.prj. It is basically text file, with info you found. Have a look at some of your shape files and figure out how information is written. Or less complited, if you have other .shp file in the same projection, just copy it and change the name accordinagly.

share|improve this answer
I did manually create a file with the information I found online. But it still isn't being displayed correctly. Is there a utility I can use to create the projection file with this data?? – ChrisJ Feb 3 '12 at 20:26
You can also use where you can find and download a .PRJ file, then rename it to the same prefix as the .SHP file – Mike T Feb 4 '12 at 0:25

Create a .prj file with the same basename as your shapefile (i.e. foo.prj), open the file in a text editor and add the contents of, in this case,

share|improve this answer

Download the .prj file at the link you posted and then rename it to match your shape file.

share|improve this answer

Try using Geokettle it reads shapefiles and has an option to add an SRS in its transformations. Otherwise use ogr2ogr gui (windows only) to see the srid

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.