Skip to main content
Solved

how to upload a draw polygon using third party tool to fme server

  • December 30, 2013
  • 9 replies
  • 11 views

Forum|alt.badge.img
Dear All , 

 

 

How to pass a geometry draw using geocortex to FME server . We have esri geometry draw by a user and we need to pass it to fme server . 

 

 

thanks ,

Best answer by david_r

Hi,

 

 

seems like there might be a bug in the GeometryReplacer that prevents it from reading the geometry string directly from a published parameter.

 

 

Use a ParameterFetcher first to put the WKT into a regular attribute. That worked for me (FME 2013)

 

 

David
View original
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.

9 replies

david_r
Evangelist
  • December 30, 2013
Hi,

 

 

one solution could be to convert pass the geometry as either WKT or WKB. You can then convert it back in your workspace using the GeometryReplacer.

 

 

David

Forum|alt.badge.img
  • Author
  • December 30, 2013
Thanks David , but how to pass this WKT to geometry replace , do I need to use creator , what will be the input from the user

Forum|alt.badge.img
  • Author
  • December 30, 2013
Thanks , it works great

Forum|alt.badge.img
  • Author
  • December 31, 2013
Hi All, 

 

 

I used David method to get the geometry as WKT but when I check it using shape file as an output or inspecter I did not see the geometry , May I know what might be the reason 

david_r
Evangelist
  • December 31, 2013
Hi,

 

 

can you tell us how you implemented it? My idea was something like this:

 

 

 

 

David

Forum|alt.badge.img
  • Author
  • December 31, 2013
HI David , 

 

 

I am using the same method that you explained but when I passed the below wKT as input I am not seeing the polygon on shape file or inspector . do we need to add any other transfermer

 

 

POLYGON ((55.723644024000066 24.237742129000083, 55.723659275000045 24.236346177000087, 55.725385866000067 24.23637092000007, 55.725414275000048 24.237711484000044, 55.723644024000066 24.237742129000083)) 

david_r
Evangelist
  • Best Answer
  • December 31, 2013
Hi,

 

 

seems like there might be a bug in the GeometryReplacer that prevents it from reading the geometry string directly from a published parameter.

 

 

Use a ParameterFetcher first to put the WKT into a regular attribute. That worked for me (FME 2013)

 

 

David

Forum|alt.badge.img
  • Author
  • December 31, 2013
WOW David , awesome man , it works like a champ

david_r
Evangelist
  • December 31, 2013
Glad to hear it works.

 

 

For what it's worth, it seems like this bug has been resolved for FME 2014.

 

 

David

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