Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any way to convert SmallWorld GIS topology to the format that pgRouting use? My costumer have use SmallWorld GIS and make his topology on it. but when he export his information as shape file, the topology is gone!

How can the topology be preserved?

share|improve this question
Unfortunately shapefiles will not preserve topological data. – Allan Adair Sep 14 '11 at 6:05
But it can use source,target and cost column to store topology like what pgRouting use. – sahmad Sep 14 '11 at 11:34
FME will do Small World to PostGIS - Though it would be best practice to re-create topology with pgrouting. – Mapperz Sep 14 '11 at 15:58

You can preserve the topology if you can preserve source and target attribute. The function of pgRouting to create a topology does nothing else than populate source and target columns.

share|improve this answer

I would imagine that you could open the PostGIS database from inside a Smallworld session and then do the conversion with a Magik script. If its just a one way data export process that shouldn't be too complicated. Option B would be to export a csv from Smallworld with a column structure that can be directly imported into a PostGIS table.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.