[OSM-dev] GML2OSM
Iván Sánchez Ortega
ivansanchez at escomposlinux.org
Tue Jul 24 19:28:47 BST 2007
Hi everyone,
I've been hacking together a GML2OSM script. You feed it generic GML data, it
outputs well-formed OSM data.
It may have bugs, but if anybody is working with GML, it may be of use for
you. And, right now, only works with points, linestrings, multilinestrings,
and multipolygons (and works!!). I have to review the GML simple features
specification, *again*. Sigh.
It's lacking tags conversion, but it can be done manually, hard-coding the
conversion in the code. You may find some example conversions, commented out.
Please feel free to make comments.
Cheers,
--
Iván Sánchez Ortega <ivansanchez at escomposlinux.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cs2cs_wrapper.php
Type: application/x-php
Size: 755 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070724/588d7ebd/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gml2osm.php
Type: application/x-php
Size: 6376 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070724/588d7ebd/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gml2osm_funcs.php
Type: application/x-php
Size: 3346 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20070724/588d7ebd/attachment-0002.bin>
More information about the dev
mailing list