Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have some MapInfo TAB-file and I'd like to save spatial reference to .prj-file. How it can be done?

share|improve this question
    
duplicate or a continuation of gis.stackexchange.com/questions/22298/… –  Dan Patterson Mar 27 '12 at 12:02
    
@DanPatterson: I admit that my English is not good. First question is about changing spatial reference and this question is about saving spatial reference to file. These are two different questions about spatial reference in mapinfo. Why do you think that there is a duplicate question? Perhaps this question can be considered as a continuation of previous question in some senses. But is this a crime? –  Loom Mar 27 '12 at 14:23
    
Loom Perhaps editing the original question would be best so that the information could be tied together to facilitate searching this site regarding MapInfo projection information. –  Dan Patterson Mar 27 '12 at 14:58
1  
@DanPatterson: I understand now. No, these questions are not tied together. –  Loom Mar 28 '12 at 10:56

2 Answers 2

up vote 1 down vote accepted

Universal Translator

MapInfo comes bundled with Universal Translator which can be found under the Tools menu. It is an additional option so may not be installed but should be on your installation disc. This should create a .prj file, like in Uffe's answer.

MapBasic

If you are doing this regularly/in bulk you could make a MapBasic program to do it for you. The following command will show you the prj string for the last table to be opened. You could then either copy and paste the result into a file or work some more Mapbasic magic to make it do it for you.

Include "mapbasic.def"
Print CoordSysStringToWKT$(TableInfo(0, TAB_INFO_COORDSYS_CLAUSE))
share|improve this answer

Convert it to a SHP file with FWtools / ogr2ogr and you've got your PRJ file.

share|improve this answer

Your Answer

 
discard

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.