Skip to main content

@Hans van der Maarel​  @david_r​  @chrisatsafe​  @safesoftware safesoftware​ 

PRJ itself is not a supported format, but if you read the data file it comes with it will use the PRJ to facilitate reprojection.

 

E.g. if you have a shapefile with a prj, just read the shapefile, FME will automatically pick up the prj.


PRJ itself is not a supported format, but if you read the data file it comes with it will use the PRJ to facilitate reprojection.

 

E.g. if you have a shapefile with a prj, just read the shapefile, FME will automatically pick up the prj.

Thanks for replying but I don't understand your answer. Actually, I have a file with the .prj extension. I want to read its content. Like here in this tutorial .txt is used https://community.safe.com/s/article/using-external-coordinate-system-names-with-coordi


Thanks for replying but I don't understand your answer. Actually, I have a file with the .prj extension. I want to read its content. Like here in this tutorial .txt is used https://community.safe.com/s/article/using-external-coordinate-system-names-with-coordi

Learn something new every day, I did not know about the CoordinateSystemDescriptionConverter 😂

 

In that sample they use a .txt file with a WKT description. In your case the steps may differ slightly. If you open that PRJ file in a text editor like Notepad, what does it look like?


Thanks for replying but I don't understand your answer. Actually, I have a file with the .prj extension. I want to read its content. Like here in this tutorial .txt is used https://community.safe.com/s/article/using-external-coordinate-system-names-with-coordi

PROJCS["NAD_1983_StatePlane_Washington_South_FIPS_4602", GEOGCS["GCS_North_American_1983", DATUM["D_North_American_1983", SPHEROID["GRS_1980",6378137.0,298.257222101]

], PRIMEM["Greenwich",0.0], UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"], PARAMETER["False_Easting",500000.0],

PARAMETER["False_Northing",0.0],

PARAMETER["Central_Meridian",-120.5],

PARAMETER["Standard_Parallel_1",45.83333333333334],

PARAMETER["Standard_Parallel_2",47.33333333333334],

PARAMETER["Latitude_Of_Origin",45.33333333333334],

UNIT["Meter",1.0],

AUTHORITY["EPSG",32149]

] Like this.


Thanks for replying but I don't understand your answer. Actually, I have a file with the .prj extension. I want to read its content. Like here in this tutorial .txt is used https://community.safe.com/s/article/using-external-coordinate-system-names-with-coordi

Right, so that is the same structure as in that example. You can use the Text Reader to read the .prj file and then all the other steps should be the same.


Thanks for replying but I don't understand your answer. Actually, I have a file with the .prj extension. I want to read its content. Like here in this tutorial .txt is used https://community.safe.com/s/article/using-external-coordinate-system-names-with-coordi

Not working, Maybe the format is different or something else.


@chrisatsafe​ @keziaatsafe​  can you please help me with this thing?


Reply