Skip to main content
Question

How to read a PRJ file in FME Desktop? This format is not in the list of available formats in the Reader. I want to read coordinate system-related data from a PRJ file for reprojection.


rishi1804
Contributor
Forum|alt.badge.img+4

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

7 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

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.


rishi1804
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • June 16, 2022
redgeographics wrote:

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


redgeographics
Celebrity
Forum|alt.badge.img+49
rishi1804 wrote:

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?


rishi1804
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • June 16, 2022
rishi1804 wrote:

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.


redgeographics
Celebrity
Forum|alt.badge.img+49
rishi1804 wrote:

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.


rishi1804
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • June 16, 2022
rishi1804 wrote:

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.


rishi1804
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • June 16, 2022

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


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings