What is the cleverest way to bring GML into GeoServer?
I remember that I 'd have read about using PostGIS for that but are there some kind of gml2pgsql converter available? I have just studied WFS, GML and PostGIS for a short time, so this issue may seem "taken for granted" for you pros, but not for me. I once tried the GML datastore extension but it gave back only a bunch of errors.
with best regards
mika
Lehtonen, Mika ha scritto:
What is the cleverest way to bring GML into GeoServer?
I remember that I 'd have read about using PostGIS for that but are there some kind of gml2pgsql converter available? I have just studied WFS, GML and PostGIS for a short time, so this issue may seem "taken for granted" for you pros, but not for me. I once tried the GML datastore extension but it gave back only a bunch of errors.
Hmm, the gml datastore extension is not really well maintained, maybe
we should drop it.
As for converting GML into something that can be served at good
speed (gml parsing is slow), you may want to have a look at ogr2ogr
utility distributed with GDAL, it should be able to perform the
conversion to postgis with it (provided the gml is made of
simple features, if they are complex you're out of luck).
Cc'ing Justin, our XML expert. Justin, what's the status of
the various GML datastores, anything that can be used in
production?
Cheers
Andrea
Hmm, the gml datastore extension is not really well maintained, maybe
we should drop it.
As for converting GML into something that can be served at good
speed (gml parsing is slow), you may want to have a look at ogr2ogr
utility distributed with GDAL, it should be able to perform the
conversion to postgis with it (provided the gml is made of
simple features, if they are complex you're out of luck).
Cc'ing Justin, our XML expert. Justin, what's the status of
the various GML datastores, anything that can be used in
production?
The gml2 datastore is unmaintained... and it seems anytime it tries to get used it fails, so yeah... we may want to consider dropping it.
The gml3 datastore was an experiment that is now unsupported. Actually I think its moved into pending which is unsupported-unsupported, if that makes any sense :).
Cheers
Andrea
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
!DSPAM:4007,47aae6bc115047180515871!
--
Justin Deoliveira
The Open Planning Project
jdeolive@anonymised.com