[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [geomesa-users] Geoserver WFS from QGIS
|
Thanks, forcing 1.0.0 was the ticket as well as enabling “strict CITE compliance” on geoserver. Otherwise it was requesting a mix of 1.0.0 but still with ?outputformat=gml3. This is on Geomesa 1.3.2 (the geodocker images). If I get a chance I will try compiling master and seeing whether that resolves 1.1.0 and 2.0.0.
> On Oct 6, 2017, at 6:04 AM, Emilio Lahr-Vivaz <elahrvivaz@xxxxxxxx> wrote:
>
> It should also work with older geomesa versions if you can make a gml2 request, which is the default for WFS 1.0 (and possibly 1.1). Although someone recently mentioned that qgis does not support earlier WFS versions, so that might not help you.
>
> Thanks,
>
> Emilio
>
> On 10/06/2017 08:41 AM, Anthony Fox wrote:
>> John, what version of GeoMesa? We recently had a bug where we weren't
>> propagating the namespace properly. It's fixed in master.
>>
>> John Meehan <john_n_meehan@xxxxxxxxx> writes:
>>
>>> Hi,
>>>
>>> Are there any tricks to get WFS working in Geoserver? QGIS complains about "Error when parsing GetFeature response : Error: unbound prefix on line 1, column 741” which appears to be the null namespace on the <null:example-csv gml:id="23623”> element. I’ve seen some chatter that this might be an issue with Geoserver workspaces but haven’t had any success.
>>>
>>> <?xml version="1.0" encoding="UTF-8"?>
>>> <wfs:FeatureCollection xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:cite="http://www.opengeospatial.net/cite" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" numberMatched="3" numberReturned="3" timeStamp="2017-10-05T20:35:23.735Z" xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://localhost:9090/geoserver/schemas/wfs/2.0/wfs.xsd http://www.opengeospatial.net/cite http://localhost:9090/geoserver/wfs?service=WFS&version=2.0.0&request=DescribeFeatureType&typeName=cite%3Aexample-csv http://www.opengis.net/gml/3.2 http://localhost:9090/geoserver/schemas/gml/3.2.1/gml.xsd">
>>> <wfs:member>
>>> <null:example-csv gml:id="23623">
>>> <gml:name>Harry</gml:name>
>>> <fid>23623</fid>
>>> <age>20</age>
>>> <lastseen>2015-05-06T00:00:00.000Z</lastseen>
>>> <geom>
>>> <gml:Point srsName="urn:ogc:def:crs:EPSG::4326" srsDimension="2">
>>> <gml:pos>23 -100.236523</gml:pos>
>>> </gml:Point>
>>> </geom>
>>> </null:example-csv>
>>> ...
>>> </wfs:FeatureCollection>_______________________________________________
>>> geomesa-users mailing list
>>> geomesa-users@xxxxxxxxxxxxxxxx
>>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>>> https://dev.locationtech.org/mailman/listinfo/geomesa-users
>> _______________________________________________
>> geomesa-users mailing list
>> geomesa-users@xxxxxxxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>> https://dev.locationtech.org/mailman/listinfo/geomesa-users
>
> _______________________________________________
> geomesa-users mailing list
> geomesa-users@xxxxxxxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.locationtech.org/mailman/listinfo/geomesa-users