Question

Geometry from Smallworld to Postgres

  • 18 November 2013
  • 2 replies
  • 14 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

Userlevel 2
Badge +17
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
Thanks, my problem was that y have the name of the Postgis attribut bad written.

 

 

Thanks Takashi

Reply