Skip to main content
Question

Transform a PostGIS geometry in a Smallworld geometry

  • August 28, 2013
  • 3 replies
  • 107 views

Hi, I´ve PostGis tables whith 3 geometric fields (with different projections), The recordas can be points, lines or areas. I need to transform this geometries (one of the fields) in a Smallworld Geometry...but i don´t know how..

 

 

I would be very grateful if someone could help me

 

 

Thanks
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.

3 replies

david_r
Celebrity
  • August 29, 2013
Hi,

 

 

I do not know what a Smallworld geometry really means in your context, could you please expand? What type of geometry is allowed?

 

 

David

  • Author
  • September 4, 2013
Hi, thanks for replying.

 

Sorry I responded so late but I have problems with my fme.

 

 

I meant if, for example, I have a reader from a postgres table (which represents a line and its attributes).On the other hand I have a table of Smallworld whose main geometry is "route".

 

 

How do I indicate on my workbench the relationship between geometry?

 

 

A postgres record has 3 geometric fields (different projections, but i dont know if these fields are important)

 

 

Thanks, and sorry if I have not explained my question well

geolassi
Contributor
Forum|alt.badge.img+8
  • Contributor
  • September 13, 2013
Hi,

 

 

This instruction can be applied to Smallworld FME Translator (not the SBS plugin). Getting the geometry into Smallworld is done with an attribute called smallworld_geometry{0}.sworld_name. You can use AttributeCreator to create the attribute smallworld_geometry{0}.sworld_name and give route for the value of the attribute. Just to be sure, you should expose attribute sworld_geometry{0}.sworld_name from the feature type properties and Format Attributes tab.

 

 

If you have multiple geometries then smallworld_geometry{1}, smallworld_geometry{2}, etc. can be used.