Subscribe to this thread
Home - General / All posts - prj file
jknapple3 post(s)
#16-Oct-18 20:54

Can Manifold personal edition create the prj file when exporting a shape file?

Mike Pelletier


1,529 post(s)
#16-Oct-18 21:59

Yes, there is a save button on the Assign Projection dialogue that allows choosing a .prj file. However, check the results with ESRI or other GIS software to see if they can read it correctly before relying on it. My local State Plane coordinates in the USA are not exported out of Manifold in a way that ESRI can read it. So I just keep a copy of the prj file that ESRI likes and then copy > rename it as needed.

dchall8
502 post(s)
#16-Oct-18 22:34

I agree with Mike. If I have a client who already has shape files with a .prj file, even if it is only one point in the neighborhood of where I'm working, then I import everything to Manifold 8, do my job on the files, export as shape files, and rename the original .prj file with the name of the new shape files. That has worked for me every week for about 10 years. I think it has been explained here that ESRI does not adhere as precisely to their own standards for .prj files as Manifold does. Apparently the imprecision is important to how it works.

Dimitri

5,082 post(s)
#17-Oct-18 06:28

Use 9, which incorporates much more experience in creating .prj files.

firsttube


1,437 post(s)
#19-Oct-18 14:49

Here is a script for M8 that will export PRJ files for either a single drawing or multiple drawings. I use it all the time to export PRJ's for people that need shape files

Attachments:
ExportPRJ.map


"The blessing in life is finding the torture you are comfortable with." - Jerry Seinfeld, 6/26/2013

mao90210
75 post(s)
#08-Nov-18 05:30

Hello, thank you for this script, this is very useful for me.

However, when i am using a custom datum, this script gave me a wrong PRJ file. it uses wgs84 datum.

PROJCS["Philippines_Zone_V",DATUM["D_WGS_1984", SPHEROID["WGS_1984", 6378137, 298.257223563]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Scale_Factor",0.99995000000000],PARAMETER["Central_Meridian",125],PARAMETER["Origin_Of_Projection",0],PARAMETER["Scale_Factor",0.99995000000000],UNIT["Meter",1.0]]

steveFitz

224 post(s)
#08-Nov-18 06:40

I had the same problem so I modified the script to look up a substitute prj file from my hard drive, and copy/rename that to the shapefile output folder. If you have an ESRI product you may have a similar folder with lots of prj files that seem to play well with other GIS software. Mine is at C:\Program Files (x86)\ArcGIS\ArcPad10.2\Coordinate System\Projected Coordinate Systems\National Grids

I won't post the script until I've cleaned it up for public viewing!

Did you ever get the dwg tools add-in to work?

The "Philippines_Zone_V" prj from that folder looks like this - is this correct?

PROJCS["Philippines_Zone_V",GEOGCS["GCS_Luzon_1911",DATUM["D_Luzon_1911",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",125],PARAMETER["Scale_Factor",0.99995],PARAMETER["Latitude_Of_Origin",0],UNIT["Meter",1]]

mao90210
75 post(s)
#08-Nov-18 07:58

Thank you for your reply steveFitz.

What i did is i use another software (global mapper) to generate a PRJ file from my custom datum in manifold.

this is what it looks like..

PROJCS["PRS92_Philippines_zone_5",GEOGCS["GCS_PHILIPPINE_REFERENCE_SYSTEM_1992",DATUM["D_Phillipine_Reference_System_1992",SPHEROID["Clarke_1866",6378206.4,294.9786982]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["scale_factor",0.99995],PARAMETER["central_meridian",125],PARAMETER["latitude_of_origin",0],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]]

About also in your dwg tools add-in, still doesn't work for me..

I don't know why..

I tried also your suggestion, i used another computer with windows 7 OS and still doesn't work..

When i try to Import cad layers in the add in tools, this what it says:

Attachments:
Image.jpg
Prs92_Contour.prj

Manifold User Community Use Agreement Copyright (C) 2007-2017 Manifold Software Limited. All rights reserved.