Skip to main content
Solved

Error in reprojecting Custom Coordinate system

  • August 22, 2018
  • 2 replies
  • 16 views

lostsoul
Contributor
Forum|alt.badge.img+1

Hi,

I have this proj4 config that I had converted to FME custom coordinate system. However, when I run a reprojection transformer on it, it gives me an error.

Below are the details.

 

Can anyone shed some light on this error?

Thank you!

Proj4 config:

 

+proj=tmerc +lat_0=0 +lon_0=120.95 +k=0.9999 +x_0=446904.02 +y_0=2879827.84 +ellps=GRS80 +units=m +no_defs

 

FME custom local coordinate:

COORDINATE_SYSTEM_DEF ER94 \\

 

PROJ TM \\

 

UNIT METER \\

 

DT_NAME ER94 \\

 

DESC_NM "ER94" \\

 

GROUP ASIA \\

 

SOURCE "ER94" \\

 

ORG_LAT 0 \\

 

PARM1 120.95 \\

 

SCL_RED 0.9999 \\

 

X_OFF 446904.02 \\

 

Y_OFF 2879827.84

 

FME ERROR when trying to reproject:

Datum definition ER94 does not exist.

Storing feature(s) to FME feature store file `.\\mapping_log.ffs'

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Feature Type: `'

Attribute(string): `CS_NAME' has value `ER94'

Attribute(string): `DESC_NM' has value `ER94'

Attribute(string): `DT_NAME' has value `ER94'

Attribute(string): `GROUP' has value `ASIA'

Attribute(string): `ORG_LAT' has value `0'

Attribute(string): `PARM1' has value `120.95'

Attribute(string): `PROJ' has value `TM'

Attribute(string): `QUAD' has value `1'

Attribute(string): `SCL_RED' has value `0.9999'

Attribute(string): `SOURCE' has value `ER94'

Attribute(string): `UNIT' has value `METER'

Attribute(string): `X_OFF' has value `446904.02'

Attribute(string): `Y_OFF' has value `2879827.84'

Geometry Type: Unknown (0)

===========================================================================

Unable to initialize coordinate system structure for coordinate system `ER94'

Reprojector: Could not create reprojection engine

Best answer by nathanatsafe

Hi @lostsoul, thanks for your question!

 

From what I can tell, it looks like ER94 is not a supported datum out-of-the-box in FME. Cross-reference this dictionary. However, you can define a new datum and add it to FME. I think this would resolve the error.

 

Hope this helps!

 

Nathan
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

nathanatsafe
Safer
Forum|alt.badge.img+9
  • Safer
  • 284 replies
  • Best Answer
  • August 22, 2018

Hi @lostsoul, thanks for your question!

 

From what I can tell, it looks like ER94 is not a supported datum out-of-the-box in FME. Cross-reference this dictionary. However, you can define a new datum and add it to FME. I think this would resolve the error.

 

Hope this helps!

 

Nathan

lostsoul
Contributor
Forum|alt.badge.img+1
  • Author
  • Contributor
  • 1 reply
  • September 3, 2018

Hi @lostsoul, thanks for your question!

 

From what I can tell, it looks like ER94 is not a supported datum out-of-the-box in FME. Cross-reference this dictionary. However, you can define a new datum and add it to FME. I think this would resolve the error.

 

Hope this helps!

 

Nathan
Thank you for the response.

 

I found this link and it works :)

 

 

https://knowledge.safe.com/articles/1261/using-external-coordinate-system-names-with-coordi.html