Hello,
Is there any way to create *.prj(Projection) file from shape file or index file.
I have code to create index file from shape file but is there any way using that I can create new projection file from shape file. If then please post help code.
Thanks.
Eric.
Create projection file from shape file or index file
Dear Eric.
No, you cannot create the .prj file from the other files in a Shape file set. The reason for the .prj file is that a shape reader cannot glean the projection info from the other files. This making a .prj file necessary in order to complete the info.
Best regards,
Keld Laursen
SEGES P/S
Denmark
Hi Eric,
The .PRJ file is the additional information for .SHP file, just like Keld said, it should be provided by data provide, but won’t be generated by Map.
Regards,
Don
Hello Don,
So as we creating index file from shape file we can’t create projection file from shape file right?
Because there is method in ShapeFileFeatureSource to create or Build index file using method BuildIndexFile. So there is not any method for creating or modify projection of a shape file.?
Thanks.
Eric.
Hi Eric,
Yes you’re right, and please view this topic as below, val’s reply should be more detail about it:
thinkgeo.com/forums/MapSuite/tabid/143/aft/9695/Default.aspx
Regards,
Don