1.6.5 + PostGIS: Getting gml:_ImplicitGeometry from GetFeature requests

View: New views
5 Messages — Rating Filter:   Alert me  

1.6.5 + PostGIS: Getting gml:_ImplicitGeometry from GetFeature requests

by Dustin Parker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Using 1.6.5 and asking for features that have WKT starting with
SRID=4326;GEOMETRYCOLLECTION(POLYGON(( ...
I get this in the GetFeature response:
...
<gml:_ImplicitGeometry srsName="urn:x-ogc:def:crs:EPSG:6.11.2:4326"/>
...
(Without any actual geometry.)
The same datastore accessed through the community-schemas datastore gives back an empty gml:_Geometry element.  What's going on?
-- 
Dustin Parker
Forward Slope, Inc.
Work: 619 299 4400
Cell: 619 277 2591
0tDaX0iWmunqkiR2WKCNG
vHUT0iWqSJHZYoI0a8d1p
E9Ilprp6QZrogbPZYoI0a
8aA0ekDQ6eyxQRo146A==

-------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: 1.6.5 + PostGIS: Getting gml:_ImplicitGeometry from GetFeature requests

by Andrea Aime-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dustin Parker ha scritto:

> Using 1.6.5 and asking for features that have WKT starting with
>
>     SRID=4326;GEOMETRYCOLLECTION(POLYGON(( ...
>
> I get this in the GetFeature response:
>
>     ...
>     <gml:_ImplicitGeometry srsName="urn:x-ogc:def:crs:EPSG:6.11.2:4326"/>
>     ...
>
> (Without any actual geometry.)
> The same datastore accessed through the community-schemas datastore
> gives back an empty gml:_Geometry element.  What's going on?

I have no idea... the community schema setup replaces many core
GeoServer modules including the WFS one... I'm not at all familiar
with the community schema one so, I hope Ben has an answer for
you. To the best of my knowledge, the standard WFS module never
generates a gml:_ImplicitGeometry in the output.

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@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Parent Message unknown Re: 1.6.5 + PostGIS: Getting gml:_ImplicitGeometry from GetFeature requests

by Andrea Aime-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dustin Parker ha scritto:

> Andrea Aime wrote:
>> Dustin Parker ha scritto:
>>> Using 1.6.5 and asking for features that have WKT starting with
>>>
>>>     SRID=4326;GEOMETRYCOLLECTION(POLYGON(( ...
>>>
>>> I get this in the GetFeature response:
>>>
>>>     ...
>>>     <gml:_ImplicitGeometry
>>> srsName="urn:x-ogc:def:crs:EPSG:6.11.2:4326"/>
>>>     ...
>>>
>>> (Without any actual geometry.)
>>> The same datastore accessed through the community-schemas datastore
>>> gives back an empty gml:_Geometry element.  What's going on?
>>
>> I have no idea... the community schema setup replaces many core
>> GeoServer modules including the WFS one... I'm not at all familiar
>> with the community schema one so, I hope Ben has an answer for
>> you. To the best of my knowledge, the standard WFS module never
>> generates a gml:_ImplicitGeometry in the output.
>>
>> Cheers
>> Andrea
> But that first XML fragment is from the standard WFS module (built from
> SVN's 1.6.5 tag).  Only the second one is from the community-schemas
> module (and it is probably symptomatic of the problem with the regular
> datastore).

Ah, I see. Any chance you can provide us with a data sample plus
request so that we can reproduce the issue?
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@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Re: 1.6.5 + PostGIS: Getting gml:_ImplicitGeometry from GetFeature requests

by Dustin Parker :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrea Aime wrote:
Dustin Parker ha scritto:
Andrea Aime wrote:
Dustin Parker ha scritto:
Using 1.6.5 and asking for features that have WKT starting with

    SRID=4326;GEOMETRYCOLLECTION(POLYGON(( ...

I get this in the GetFeature response:

    ...
    <gml:_ImplicitGeometry srsName="urn:x-ogc:def:crs:EPSG:6.11.2:4326"/>
    ...

(Without any actual geometry.)
The same datastore accessed through the community-schemas datastore gives back an empty gml:_Geometry element.  What's going on?

I have no idea... the community schema setup replaces many core
GeoServer modules including the WFS one... I'm not at all familiar
with the community schema one so, I hope Ben has an answer for
you. To the best of my knowledge, the standard WFS module never
generates a gml:_ImplicitGeometry in the output.

Cheers
Andrea
But that first XML fragment is from the standard WFS module (built from SVN's 1.6.5 tag).  Only the second one is from the community-schemas module (and it is probably symptomatic of the problem with the regular datastore).
Ah, I see. Any chance you can provide us with a data sample plus
request so that we can reproduce the issue?
Cheers
Andrea

(Sorry, I didn't mean to send that last reply directly to you.)

Okay; I've attached a SQL table creation script for PostgreSQL and the feature type's info.xml.  Here's the request:

[endpoint reference]?service=WFS&request=GetFeature&typename=fsi:testGeomCollection

And the result, like before:
<gml:_ImplicitGeometry srsName="urn:x-ogc:def:crs:EPSG:6.11.2:4326"/>
I can also debug and code if you can point me towards the appropriate classes.
-- 
Dustin Parker
Forward Slope, Inc.
Work: 619 299 4400
Cell: 619 277 2591
0tDaX0iWmunqkiR2WKCNG
vHUT0iWqSJHZYoI0a8d1p
E9Ilprp6QZrogbPZYoI0a
8aA0ekDQ6eyxQRo146A==



-------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

testGeomCollection.sql.bz2 (1K) Download Attachment
testGeomCollection_info.xml.bz2 (636 bytes) Download Attachment

Re: 1.6.5 + PostGIS: Getting gml:_ImplicitGeometry from GetFeature requests

by Justin Deoliveira-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Dustin,

Thanks for providing some data. I tries this out and it is indeed a bug
with the gml3/wfs 1.1 encoder. Filing a jira issue here:

http://jira.codehaus.org/browse/GEOS-2276

Note: The gml2/wfs 1.0 encoder handles this ok.

-Justin

Dustin Parker wrote:

> Andrea Aime wrote:
>> Dustin Parker ha scritto:
>>> Andrea Aime wrote:
>>>> Dustin Parker ha scritto:
>>>>> Using 1.6.5 and asking for features that have WKT starting with
>>>>>
>>>>>     SRID=4326;GEOMETRYCOLLECTION(POLYGON(( ...
>>>>>
>>>>> I get this in the GetFeature response:
>>>>>
>>>>>     ...
>>>>>     <gml:_ImplicitGeometry
>>>>> srsName="urn:x-ogc:def:crs:EPSG:6.11.2:4326"/>
>>>>>     ...
>>>>>
>>>>> (Without any actual geometry.)
>>>>> The same datastore accessed through the community-schemas datastore
>>>>> gives back an empty gml:_Geometry element.  What's going on?
>>>>
>>>> I have no idea... the community schema setup replaces many core
>>>> GeoServer modules including the WFS one... I'm not at all familiar
>>>> with the community schema one so, I hope Ben has an answer for
>>>> you. To the best of my knowledge, the standard WFS module never
>>>> generates a gml:_ImplicitGeometry in the output.
>>>>
>>>> Cheers
>>>> Andrea
>>> But that first XML fragment is from the standard WFS module (built
>>> from SVN's 1.6.5 tag).  Only the second one is from the
>>> community-schemas module (and it is probably symptomatic of the
>>> problem with the regular datastore).
>> Ah, I see. Any chance you can provide us with a data sample plus
>> request so that we can reproduce the issue?
>> Cheers
>> Andrea
>
> (Sorry, I didn't mean to send that last reply directly to you.)
>
> Okay; I've attached a SQL table creation script for PostgreSQL and the
> feature type's info.xml.  Here's the request:
>
>     [endpoint
>     reference]?service=WFS&request=GetFeature&typename=fsi:testGeomCollection
>
> And the result, like before:
>
>     <gml:_ImplicitGeometry srsName="urn:x-ogc:def:crs:EPSG:6.11.2:4326"/>
>
> I can also debug and code if you can point me towards the appropriate
> classes.
>
> --
> Dustin Parker
> Forward Slope, Inc.
> Work: 619 299 4400
> Cell: 619 277 2591
> 0tDaX0iWmunqkiR2WKCNG
> vHUT0iWqSJHZYoI0a8d1p
> E9Ilprp6QZrogbPZYoI0a
> 8aA0ekDQ6eyxQRo146A==
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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@...
> https://lists.sourceforge.net/lists/listinfo/geoserver-users


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

-------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users
LightInTheBox - Buy quality products at wholesale price!