[Geoserver-users] GML schema to Postgres schema

Hi All,

If I have a GML schema, is there a tool that will create the corresponding Postgres schema (on which I can then install GeoServer). ogr2ogr ignores the schema, i.e. it only works with the data.

Thanks,
Alex

Alex Milanovic ha scritto:

Hi All,

If I have a GML schema, is there a tool that will create the corresponding Postgres schema (on which I can then install GeoServer). ogr2ogr ignores the schema, i.e. it only works with the data.

Not that I know of.
Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Thanks for your swift reply! I suppose there might not be a free tool for it. Can FME load a GML file and create a new Postgres/gis schema from it?

Alex

On Tue, Nov 4, 2008 at 11:21 AM, Andrea Aime <aaime@anonymised.com> wrote:

Alex Milanovic ha scritto:

Hi All,

If I have a GML schema, is there a tool that will create the corresponding Postgres schema (on which I can then install GeoServer). ogr2ogr ignores the schema, i.e. it only works with the data.

Not that I know of.
Cheers
Andrea


Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

I am not sure but I would think so, FME kicks butt at these kinds of transformations. Another option would be to code up a custom application that did this in geotools. It would not be too hard if you are a java coder, if so and you want more direction on how to do so just let me know.

-Justin

Alex Milanovic wrote:

Thanks for your swift reply! I suppose there might not be a free tool for it. Can FME load a GML file and create a new Postgres/gis schema from it?

Alex

On Tue, Nov 4, 2008 at 11:21 AM, Andrea Aime <aaime@anonymised.com <mailto:aaime@anonymised.com>> wrote:

    Alex Milanovic ha scritto:

        Hi All,

        If I have a GML schema, is there a tool that will create the
        corresponding Postgres schema (on which I can then install
        GeoServer). ogr2ogr ignores the schema, i.e. it only works with
        the data.

    Not that I know of.
    Cheers
    Andrea

    -- Andrea Aime
    OpenGeo - http://opengeo.org
    Expert service straight from the developers.

------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.