It is a java library, you can read the section on xml here:

- http://docs.geotools.org/latest/userguide/library/xml/geometry.html

If I was doing it I would make an improvement to the geoserver importer
parse GML (and create a database table from the result).

Looking at the code it appears it is already done:

-
https://github.com/geoserver/geoserver/tree/master/src/extension/importer/core/src/main/java/org/geoserver/importer/format

So install the geoserver importer extension and let us know how it works.
If you are extra kind you could update the geoserver importer docs (so we
know it can handle gml):
http://docs.geoserver.org/latest/en/user/extensions/importer/formats.html#extensions-importer-formats

--
Jody Garnett

On 31 July 2017 at 16:56, Albert Kettner <[email protected]> wrote:

> Thanks for the prompt response Jody,
>
> I'll need GML input capabilities so probably then should go with what you
> suggested: the GeoTools library. I'm not very familiar with GeoTools,
> would this integrate with geoserver? Is there any reference material online
> on this, specifically using the GML functionality of GeoTools?
>
> Much appreciated!,
> Albert.
>
> On Mon, Jul 31, 2017 at 5:48 PM, Jody Garnett <[email protected]>
> wrote:
>
>> GML output is supported by WFS, WMS and WPS services. You are correct
>> that the GML datastore was dropped. The volunteer got frustrated as many
>> questions were due to only having the GML file, when both a gml file and a
>> schema are required for parsing.
>>
>> If you know of anyone interested in picking up this work the GeoTools
>> library has a more forgiving parser now, which is willing to read the file
>> once to guess what the schema should be, and then read a second time to
>> parse the contents.
>>
>> --
>> Jody Garnett
>>
>> On 31 July 2017 at 13:09, Albert Kettner <[email protected]>
>> wrote:
>>
>>> Hi All,
>>>
>>> I'm looking into getting GML format support in geoserver (preferable for
>>> version 2.9.1). According to the documents this can be accomplished by an
>>> (currently unmaintained) extension (http://docs.geoserver.org/sta
>>> ble/en/user/data/vector/gml.html#gml-install). At the download page,
>>> under extensions I cannot find an extension that has 'GML' in its name. So
>>> my question is: is the GML extension maybe named differently, and if so,
>>> which one should I download?
>>>
>>> Any help would be appreciated,
>>> Thank you,
>>> Albert.
>>>
>>> --
>>>
>>>
>>> Albert J. Kettner, Ph.D.
>>> Research Scientist
>>> CSDMS, INSTAAR, Univ. of Colorado
>>> http://csdms.colorado.edu
>>>
>>> Co-Director Dartmouth Flood Observatory
>>> http://floodobservatory.colorado.edu/
>>>
>>> P.O.Box 545
>>> Boulder, CO, 80309, USA
>>> Ph:+1-303-735-5486 <(303)%20735-5486>; Fax: +1-303-492-6388
>>> <(303)%20492-6388>
>>> http://instaar.colorado.edu/people/albert-j-kettner/
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Geoserver-users mailing list
>>>
>>> Please make sure you read the following two resources before posting to
>>> this list:
>>> - Earning your support instead of buying it, but Ian Turton:
>>> http://www.ianturton.com/talks/foss4g.html#/
>>> - The GeoServer user list posting guidelines:
>>> http://geoserver.org/comm/userlist-guidelines.html
>>>
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>>
>>>
>>
>
>
> --
>
>
> Albert J. Kettner, Ph.D.
> Research Scientist
> CSDMS, INSTAAR, Univ. of Colorado
> http://csdms.colorado.edu
>
> Co-Director Dartmouth Flood Observatory
> http://floodobservatory.colorado.edu/
>
> P.O.Box 545
> Boulder, CO, 80309, USA
> Ph:+1-303-735-5486 <(303)%20735-5486>; Fax: +1-303-492-6388
> <(303)%20492-6388>
> http://instaar.colorado.edu/people/albert-j-kettner/
>
>
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to