Skip to main content
Question

Geometry from Smallworld to Postgres

  • November 18, 2013
  • 2 replies
  • 35 views

Hello,

 

I have a problem when I want to migrate Smallworld records to Postgis, I can not migrate the geometries.

 

 

When I do the opposite, to migrate PostGis records to Smallworld:

 

1- I add, the format attribute "sworld_geometry{0}.sworld_name",  in the Smallworld Reader.

 

2- I put an "AttributeCreator" transform in the workbench and create the attribute "sworld_geometry{0}.sworld_name" with value: location, route o boundary,(they are the names of the geometric attributes in Smallworld,That depends on whether the geometry is a point, line or area)

 

 

But i don´t know how can i do the same for PostGis.

 

 

Thank You

2 replies

takashi
Evangelist
  • November 19, 2013
Hi,

 

 

I have no experience on Smallworld, but sworld_geometry{0}.sworld_name seems to be one of the Smallworld format attributes. If so, I think you can expose it on the Smallworld reader feature type, or by the AttributeExposer transformer, then write it into a field of the PostGIS table.

 

 

Takashi

  • Author
  • November 19, 2013
Thanks, my problem was that y have the name of the Postgis attribut bad written.

 

 

Thanks Takashi

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