Dear Chris Snider
Thank you very much for your reply.
Cheers
Julierme
[email protected]
30/03/2016 11:38
Favor responder a
[email protected]
Para
[email protected]
cc
Assunto
Geoserver-users Digest, Vol 118, Issue 85
Send Geoserver-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/geoserver-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Geoserver-users digest..."
Today's Topics:
1. Re: WFS-T: Strange problems with QGIS as a client, data are
not saved but SUCCESS is returned (Alessandro Pasotti)
2. Re: Managing WFS and WMS Services (Chris Snider)
----------------------------------------------------------------------
Message: 1
Date: Wed, 30 Mar 2016 14:05:37 +0200
From: Alessandro Pasotti <[email protected]>
Subject: Re: [Geoserver-users] WFS-T: Strange problems with QGIS as a
client, data are not saved but SUCCESS is returned
To: Andrea Aime <[email protected]>
Cc: Justin Deoliveira <[email protected]>, GeoServer Mailing
List
List <[email protected]>
Message-ID:
<CAL5Q672C_p=p1+UERvthxe82HznCpvhXd=vs3to6wjp9mkm...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
2016-03-30 14:00 GMT+02:00 Andrea Aime <[email protected]>:
> On Wed, Mar 30, 2016 at 12:58 PM, Alessandro Pasotti
<[email protected]>
> wrote:
>
>> Hi All,
>>
>> I'm testing the official geoserver 2.8.2 on Linux, I've enabled WFS-T
>> transactional on all workspaces.
>> I'm doing some insert tests using topp: roads, state_boundaries and
>> cities as test layers for linestrings, polygons and points.
>>
>> Using QGIS as a client, this works:
>> - insert on cities
>>
>> This doesn't:
>> - insert on roads and state_boundaries
>>
>> First issue: geoserver returns <wfs:SUCCESS/> (no errors and no
warnings
>> in the logs) but data are not inserted in the shapefiles.
>>
>> By comparing example XML I've tracked down the problem (at least for
>> linestrings) to the simple GML used by QGIS, compared with the multi
>> geometry GML used in the geoserver demo requests (which works):
>>
>> QGIS (silently fails):
>> <the_geom xmlns="http://www.openplans.org/topp">
>> <gml:LineString srsName="EPSG:4326">
>> <gml:coordinates cs="," ts=" ">146.1911....
>>
>>
>> GeoServer Demo Requests (works):
>> <topp:the_geom>
>> <gml:MultiLineString srsName="
>> http://www.opengis.net/gml/srs/epsg.xml#4326">
>> <gml:lineStringMember>
>> <gml:LineString>
>> <gml:coordinates decimal="." cs="," ts=" ">146.1911....
>>
>>
>>
> What geometry type is GeoServer declaring in DescribeFeatureTypeã If
they
> do not match you'll
> get the result you are describing.
>
> As far as I know the original developer of the WFS-T subsystem said we
> cannot xml validate the
> request for some reason, but at the same time the parser is
unfortunately
> schema driven,
> meaning that it will only look for the elements it expects to find,
> ignoring the others.
> So if it's looking for a attribute that's not mandatory, and does not
find
> it because it's mis-encoded,
> the transaction will succeeded ignoring the unexpected attributes.
>
> We have had a number of reports due to this issue over the years, with a
> few variants (e.g., people encoding
> geometries in gml 2 in wfs 1.1 transactions), and I agree it would be
best
> if the
> system validated the input xml against the expected schema and threw an
> error,
> but apparently it's not an easy thing to fix (meaning, not a spare time
> deal),
> and one that nobody has gathered funds to use working hours to fix so
far.
>
> Cheers
> Andrea
>
>
Thank you Andrea,
I have clear picture now, and you are right, the problem is in that
DescribeFeatureType returns type="gml:MultiLineStringPropertyType" while
QGIS thinks that is a simple geometry.
I'll have a look into QGIS if we can do something to fix this.
--
Alessandro Pasotti
w3: www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
------------------------------
Message: 2
Date: Wed, 30 Mar 2016 14:23:48 +0000
From: Chris Snider <[email protected]>
Subject: Re: [Geoserver-users] Managing WFS and WMS Services
To: Jonathan Moules <[email protected]>,
"[email protected]" <[email protected]>
Cc: "[email protected]"
<[email protected]>
Message-ID:
<dm2pr0401mb097381bcab9d469e7f951d19f2...@dm2pr0401mb0973.namprd04.prod.outlook.com>
Content-Type: text/plain; charset="utf-8"
Hi,
If you restrict your output to openlayers (which isnãt ?reallyã an output
format), you wonãt be able to even use the resulting output. The
openlayers output format is what generates the layer
previewer which is actually an html page with embedded javascript.
Ultimately, the page makes WMS requests for the jpg/png etc formats. So,
you would want to have them available as well.
Chris Snider
Senior Software Engineer
Intelligent Software Solutions, Inc.
[Description: Description: Description:
cid:[email protected]]
From: Jonathan Moules [mailto:[email protected]]
Sent: Wednesday, March 30, 2016 5:05 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [Geoserver-users] Managing WFS and WMS Services
Hi,
- Disabling WFS shouldn't stop the Layer Preview from working.
- Restricting access to only certain output formats -
http://osgeo-org.1560.x6.nabble.com/WMS-output-format-restrictions-td3796402.html
- Are you sure you want OpenLayers as the output formatã If you're
building your own application that application will be openlayers (or
whatever), and the data it uses will mostly be png8, (or jpeg
for imagery).
Cheers,
Jonathan
---- On Tue, 29 Mar 2016 17:44:41 +0100 <[email protected]<
mailto:[email protected]>> wrote ----
Dear all,
I am hitting my head in a wall trying to figure out how to manage the web
services.
My goals:
1 - To make just one specific layer available for visualization only (no
download available);
2 - To provide only OpenLayers for the Output Formats on WMS services.
My issue:
Making the service WFS unable is making all the layers in the layer
preview unable.
Could anyone help me to figure out how to configure geoserver in order to
publish data just for visualization through OpenLayers WMS onlyã
[cid:[email protected]]------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clkãid=278785471&iu=/4140_______________________________________________
Geoserver-users mailing list
[email protected]<
mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2248 bytes
Desc: image001.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 54684 bytes
Desc: image002.jpg
------------------------------
------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clkãid=278785471&iu=/4140
------------------------------
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users
End of Geoserver-users Digest, Vol 118, Issue 85
************************************************
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users