[Geoserver-users] WFS-T Problem: read-only

Hi,

Once you have solved the problem with saving you will see that your data is perhaps not where you believe. WFS 1.1.0 is using lat-lon coordinate axis order and coordinates like 49.011303,8.380108 are in Karlsruhe. 8.380108,49.011303 seems to be in Eastern Somalia.

I am not sure if multicurves are supported. Have a try by using multilinestring and hope that it helps.

-Jukka Rahkonen-

Satyam Saxena wrote:

Lennart Jütte <lists <at> rtjuette.de> writes:

>
> I forgot to mention that the WFS service level is set to "full" (my german
geoserver shows
> "völlständig"). Setting it to "transactional" doesn't help.
> Often this problem come when you don't have primary key in your
table(bb_karlsruhe_wfst), create one and expose primary key in geo-server.

> Am 27.05.2010 um 16:22 schrieb Lennart Jütte:
>
> > I'm trying to execute a wfs transaction, but i always get an exception:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <ows:ExceptionReport version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/ows
> http://wka-wn-
flogx:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xmlns:ows="http://www.opengis.net/ows&quot;&gt;
> > <ows:Exception exceptionCode="NoApplicableCode">
> > <ows:ExceptionText>{http://rtjuette.de}bb_karlsruhe_wfst is read-
only</ows:ExceptionText>
> > </ows:Exception>
> > </ows:ExceptionReport>
> >
> >
> > Here's the transaction:
> >
> > <wfs:transaction xmlns:wfs="http://www.opengis.net/wfs&quot;
service="WFS"
version="1.1.0"
> xsi:schemaLocation="http://www.opengis.net/wfs
> http://schemas.opengis.net/wfs/1.1.0/wfs.xsd&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;&gt;
> > <wfs:insert>
> > <feature:bb_karlsruhe_wfst xmlns:feature="http://rtjuette.de">
> > <feature:way>
> > <gml:multicurve xmlns:gml="http://www.opengis.net/gml&quot;
srsName="EPSG:4326">
> > <gml:curvemember>
> > <gml:linestring>
> > <gml:poslist>8.3866882324218 49.011753124757
8.3908081054687 49.0315656227 8.4251403808594
> 49.020759783397 8.4175872802735 49.009951597471 8.4011077880859
49.018508271515
> 8.3976745605469 49.001393452634 8.3612823486328 49.008150004997
8.3592224121093
> 49.037417805904 8.407974243164 49.046419820376 8.4203338623047
49.042369115505</gml:poslist>
> > </gml:linestring>
> > </gml:curvemember>
> > </gml:multicurve>
> > </feature:way>
> > </feature:bb_karlsruhe_wfst>
> > </wfs:insert>
> > </wfs:transaction>
> >
> > I can't find any setting that enables write protection for this layer.
The user who is defined in the
> store's settings has r/w access to the table. The table is empty at the
moment, but i was able to read and
> display elements that were stored there before. I used the GS webui to
define a "Data security" rule that
> reads "*.*.w" for role "*" (in addition to "*.*.r" "*").
> >
> > I'm running Geoserver 2.0.2 on Debian lenny x86 with Java 1.6.20. The
Datastore is a PostGIS 1.5 DB.
> > I can remember working with WFS-T before, but i don't know if i used
PostGIS back then. Am i missing anything?
> >
> > Regards,
> > Lennart
> > ------------------------------------------------------------------------
------
> >
> > _______________________________________________
> > Geoserver-users mailing list
> > Geoserver-users <at> lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
> --------------------------------------------------------------------------
----
>

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

This might be related to an issue I just posted about elsewhere - accessing protected GeoServer layers via WFS from desktop GIS software (QGIS, MapInfo).

I found the online help description of Catalog Mode helpful for understanding this situation, but maybe it would be good to also mention there or elsewhere that desktop clients need to and can be forced to use authentication?

Anyway, I hope this helps…

···

On Fri, May 17, 2013 at 8:56 PM, Rahkonen Jukka <jukka.rahkonen@anonymised.com> wrote:

Hi,

Once you have solved the problem with saving you will see that your data is perhaps not where you believe. WFS 1.1.0 is using lat-lon coordinate axis order and coordinates like 49.011303,8.380108 are in Karlsruhe. 8.380108,49.011303 seems to be in Eastern Somalia.

I am not sure if multicurves are supported. Have a try by using multilinestring and hope that it helps.

-Jukka Rahkonen-

Satyam Saxena wrote:

Lennart Jütte <lists rtjuette.de> writes:

I forgot to mention that the WFS service level is set to “full” (my german
geoserver shows
“völlständig”). Setting it to “transactional” doesn’t help.
Often this problem come when you don’t have primary key in your
table(bb_karlsruhe_wfst), create one and expose primary key in geo-server.

Am 27.05.2010 um 16:22 schrieb Lennart Jütte:

I’m trying to execute a wfs transaction, but i always get an exception:

<?xml version="1.0" encoding="UTF-8"?>

<ows:ExceptionReport version=“1.0.0”
xsi:schemaLocation=“http://www.opengis.net/ows
http://wka-wn-
flogx:8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd”
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
xmlns:ows=“http://www.opengis.net/ows”>
<ows:Exception exceptionCode=“NoApplicableCode”>
ows:ExceptionText{http://rtjuette.de}bb_karlsruhe_wfst is read-
only</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

Here’s the transaction:

<wfs:transaction xmlns:wfs=“http://www.opengis.net/wfs
service=“WFS”
version=“1.1.0”
xsi:schemaLocation=“http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.1.0/wfs.xsd
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance”>
wfs:insert
<feature:bb_karlsruhe_wfst xmlns:feature=“http://rtjuette.de”>
feature:way
<gml:multicurve xmlns:gml=“http://www.opengis.net/gml
srsName=“EPSG:4326”>
gml:curvemember
gml:linestring
gml:poslist8.3866882324218 49.011753124757
8.3908081054687 49.0315656227 8.4251403808594
49.020759783397 8.4175872802735 49.009951597471 8.4011077880859
49.018508271515
8.3976745605469 49.001393452634 8.3612823486328 49.008150004997
8.3592224121093
49.037417805904 8.407974243164 49.046419820376 8.4203338623047
49.042369115505</gml:poslist>
</gml:linestring>
</gml:curvemember>
</gml:multicurve>
</feature:way>
</feature:bb_karlsruhe_wfst>
</wfs:insert>
</wfs:transaction>

I can’t find any setting that enables write protection for this layer.
The user who is defined in the
store’s settings has r/w access to the table. The table is empty at the
moment, but i was able to read and
display elements that were stored there before. I used the GS webui to
define a “Data security” rule that
reads “..w” for role “" (in addition to "..r" "”).

I’m running Geoserver 2.0.2 on Debian lenny x86 with Java 1.6.20. The
Datastore is a PostGIS 1.5 DB.
I can remember working with WFS-T before, but i don’t know if i used
PostGIS back then. Am i missing anything?

Regards,
Lennart



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




AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d


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


AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d


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