FME geometry conversion from string?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I have an xlsx file that has incorrect X, Y location. Essentially the false northing is out 5000000 and there's no decimal point. As you can see in the image below the current file format is on the left and format I need it in is on the right.
I can use the following FMW workflow to get the correct coordinates and export to xlsx without issue.
However, when I try to reproject the coordinates within the same workflow I can't get it to work?
This is what I'm trying to do
When I open up the exported xlsx I get the same coordinates? (like no reprojection has happened?) Any ideas what I'm missing?
(on a side note, if I open up the exported xlsx file in a new workbench and run the reprojector it works perfectly)
geometry fme excel geometry-conversion string
New contributor
add a comment |Â
up vote
2
down vote
favorite
I have an xlsx file that has incorrect X, Y location. Essentially the false northing is out 5000000 and there's no decimal point. As you can see in the image below the current file format is on the left and format I need it in is on the right.
I can use the following FMW workflow to get the correct coordinates and export to xlsx without issue.
However, when I try to reproject the coordinates within the same workflow I can't get it to work?
This is what I'm trying to do
When I open up the exported xlsx I get the same coordinates? (like no reprojection has happened?) Any ideas what I'm missing?
(on a side note, if I open up the exported xlsx file in a new workbench and run the reprojector it works perfectly)
geometry fme excel geometry-conversion string
New contributor
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have an xlsx file that has incorrect X, Y location. Essentially the false northing is out 5000000 and there's no decimal point. As you can see in the image below the current file format is on the left and format I need it in is on the right.
I can use the following FMW workflow to get the correct coordinates and export to xlsx without issue.
However, when I try to reproject the coordinates within the same workflow I can't get it to work?
This is what I'm trying to do
When I open up the exported xlsx I get the same coordinates? (like no reprojection has happened?) Any ideas what I'm missing?
(on a side note, if I open up the exported xlsx file in a new workbench and run the reprojector it works perfectly)
geometry fme excel geometry-conversion string
New contributor
I have an xlsx file that has incorrect X, Y location. Essentially the false northing is out 5000000 and there's no decimal point. As you can see in the image below the current file format is on the left and format I need it in is on the right.
I can use the following FMW workflow to get the correct coordinates and export to xlsx without issue.
However, when I try to reproject the coordinates within the same workflow I can't get it to work?
This is what I'm trying to do
When I open up the exported xlsx I get the same coordinates? (like no reprojection has happened?) Any ideas what I'm missing?
(on a side note, if I open up the exported xlsx file in a new workbench and run the reprojector it works perfectly)
geometry fme excel geometry-conversion string
geometry fme excel geometry-conversion string
New contributor
New contributor
edited 7 hours ago
Vince
14.2k32445
14.2k32445
New contributor
asked 8 hours ago
user2803487
111
111
New contributor
New contributor
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
2
down vote
First, I'd recommend using an ExpressionEvaluator or AttributeManager to calculate the correct coordinates instead of using StringReplacers. e.g. @Value(Y) / 1000 + 5000000
Second, since you're writing out to Excel, just use an AttributeReprojector instead of the VertexCreator and Reprojector. Are you writing out to a new Excel file?
I will check it out Dan, I haven't been convinced about the string replace transformer, It was just something I could do quickly. Eventually, I will be posting into AGOL but I was just trying to get the reprojection happening first!
â user2803487
7 hours ago
add a comment |Â
up vote
2
down vote
Your reprojected features are not being written. The excel writer is likely writing attributes only.
After the reprojector try adding a coordinateextractor to populate attributes with the point lat/long and this should let the writer do its stuff.
That's done the trick Jim. Thanks for the quick reply :)
â user2803487
7 hours ago
If this reply answered your question, please accept it as per the site guidelines.
â Fezterâ¦
5 hours ago
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
First, I'd recommend using an ExpressionEvaluator or AttributeManager to calculate the correct coordinates instead of using StringReplacers. e.g. @Value(Y) / 1000 + 5000000
Second, since you're writing out to Excel, just use an AttributeReprojector instead of the VertexCreator and Reprojector. Are you writing out to a new Excel file?
I will check it out Dan, I haven't been convinced about the string replace transformer, It was just something I could do quickly. Eventually, I will be posting into AGOL but I was just trying to get the reprojection happening first!
â user2803487
7 hours ago
add a comment |Â
up vote
2
down vote
First, I'd recommend using an ExpressionEvaluator or AttributeManager to calculate the correct coordinates instead of using StringReplacers. e.g. @Value(Y) / 1000 + 5000000
Second, since you're writing out to Excel, just use an AttributeReprojector instead of the VertexCreator and Reprojector. Are you writing out to a new Excel file?
I will check it out Dan, I haven't been convinced about the string replace transformer, It was just something I could do quickly. Eventually, I will be posting into AGOL but I was just trying to get the reprojection happening first!
â user2803487
7 hours ago
add a comment |Â
up vote
2
down vote
up vote
2
down vote
First, I'd recommend using an ExpressionEvaluator or AttributeManager to calculate the correct coordinates instead of using StringReplacers. e.g. @Value(Y) / 1000 + 5000000
Second, since you're writing out to Excel, just use an AttributeReprojector instead of the VertexCreator and Reprojector. Are you writing out to a new Excel file?
First, I'd recommend using an ExpressionEvaluator or AttributeManager to calculate the correct coordinates instead of using StringReplacers. e.g. @Value(Y) / 1000 + 5000000
Second, since you're writing out to Excel, just use an AttributeReprojector instead of the VertexCreator and Reprojector. Are you writing out to a new Excel file?
answered 7 hours ago
Dan Iseminger
362
362
I will check it out Dan, I haven't been convinced about the string replace transformer, It was just something I could do quickly. Eventually, I will be posting into AGOL but I was just trying to get the reprojection happening first!
â user2803487
7 hours ago
add a comment |Â
I will check it out Dan, I haven't been convinced about the string replace transformer, It was just something I could do quickly. Eventually, I will be posting into AGOL but I was just trying to get the reprojection happening first!
â user2803487
7 hours ago
I will check it out Dan, I haven't been convinced about the string replace transformer, It was just something I could do quickly. Eventually, I will be posting into AGOL but I was just trying to get the reprojection happening first!
â user2803487
7 hours ago
I will check it out Dan, I haven't been convinced about the string replace transformer, It was just something I could do quickly. Eventually, I will be posting into AGOL but I was just trying to get the reprojection happening first!
â user2803487
7 hours ago
add a comment |Â
up vote
2
down vote
Your reprojected features are not being written. The excel writer is likely writing attributes only.
After the reprojector try adding a coordinateextractor to populate attributes with the point lat/long and this should let the writer do its stuff.
That's done the trick Jim. Thanks for the quick reply :)
â user2803487
7 hours ago
If this reply answered your question, please accept it as per the site guidelines.
â Fezterâ¦
5 hours ago
add a comment |Â
up vote
2
down vote
Your reprojected features are not being written. The excel writer is likely writing attributes only.
After the reprojector try adding a coordinateextractor to populate attributes with the point lat/long and this should let the writer do its stuff.
That's done the trick Jim. Thanks for the quick reply :)
â user2803487
7 hours ago
If this reply answered your question, please accept it as per the site guidelines.
â Fezterâ¦
5 hours ago
add a comment |Â
up vote
2
down vote
up vote
2
down vote
Your reprojected features are not being written. The excel writer is likely writing attributes only.
After the reprojector try adding a coordinateextractor to populate attributes with the point lat/long and this should let the writer do its stuff.
Your reprojected features are not being written. The excel writer is likely writing attributes only.
After the reprojector try adding a coordinateextractor to populate attributes with the point lat/long and this should let the writer do its stuff.
edited 7 hours ago
answered 7 hours ago
JimT
1,013417
1,013417
That's done the trick Jim. Thanks for the quick reply :)
â user2803487
7 hours ago
If this reply answered your question, please accept it as per the site guidelines.
â Fezterâ¦
5 hours ago
add a comment |Â
That's done the trick Jim. Thanks for the quick reply :)
â user2803487
7 hours ago
If this reply answered your question, please accept it as per the site guidelines.
â Fezterâ¦
5 hours ago
That's done the trick Jim. Thanks for the quick reply :)
â user2803487
7 hours ago
That's done the trick Jim. Thanks for the quick reply :)
â user2803487
7 hours ago
If this reply answered your question, please accept it as per the site guidelines.
â Fezterâ¦
5 hours ago
If this reply answered your question, please accept it as per the site guidelines.
â Fezterâ¦
5 hours ago
add a comment |Â
user2803487 is a new contributor. Be nice, and check out our Code of Conduct.
user2803487 is a new contributor. Be nice, and check out our Code of Conduct.
user2803487 is a new contributor. Be nice, and check out our Code of Conduct.
user2803487 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgis.stackexchange.com%2fquestions%2f300928%2ffme-geometry-conversion-from-string%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password