[Geomoose-users] GM 2.6 and WFS-T editing

Johan Forsman Johan.Forsman at LA.GOV
Fri Oct 19 10:29:12 PDT 2012


I think I have it working partially now, even on IIS 7.5, with some exceptions as noted below.

I can edit geometries and save changes back to the server and see them immediately (tested by using Quantum GIS), however I cannot edit attributes. When I try, I see the box with attributes, but they are not editable, and the labels are not displayed.

The mapbook contains these lines for the attributes:
                               <attribute name="pwsid" type="text" label="PWSID:"/>
                                <attribute name="sysname" type="text" label="System name:"/>
                                <attribute name="pwstype" type="text" label="System type:"/>
                                <attribute name="primary_source_type" type="text" label="Primary source:"/>
                                <attribute name="sysstatus" type="text" label="Activity status:"/>
                                <attribute name="parish" type="text" label="Parish:"/>
                                <attribute name="dhhregion" type="text" label="Region:"/>
                                <attribute name="feat_description" type="text" label="Feature type:"/>
                                <attribute name="added_by" type="text" label="Created by:"/>
                                <attribute name="date_added" type="text" label="Date created:"/>
                                <attribute name="modified_by" type="text" label="Modified by:"/>
                                <attribute name="date_modified" type="text" label="Date modified:"/>
                                <attribute name="data_source_description" type="text" label="Source data:"/>
                                <attribute name="data_source_date" type="text" label="Source date:"/>

and an example Edit Attributes dialog looks like the attached image.

The attributes returned match what I should see for that particular record, but I can't change anything and there are no labels.

Please advise what I am overlooking.

Thanks!
Johan.

-----------
From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Johan Forsman
Sent: Friday, September 14, 2012 9:40 AM
To: geomoose-users at lists.osgeo.org
Subject: [Geomoose-users] GM 2.6 and WFS-T editing

All:

I am having a bit of an issue enabling the new WFS-T editing functions in GM 2.6.

I'll preface by saying this is all on IIS 7.5, which is in itself a bit of a challenge, but GM 2.6 is working overall as far as displaying map data.

I have GeoServer 2.1.4 installed as a Windows service on port 8080, with the data stored in PostGIS. 

Setting up proxy and reverse proxy with URL re-writing on IIS is not especially trivial, but it appears to be working as I can edit the features of interest with WFS-T from QGIS 1.8 against this server. I tried editing both via a connection directly to the 8080 port, and also via a connection to the re-written URL. Both appear to work as intended. This one may need additional testing. On IIS it's far more complicated than the ProxyPass and ProxyPassReverse directives suggested for Apache in the GM documentation.

I used the GM documentation and edited the mapbook to point to the proper workspace/store/layer on this server.

The closest I have come to identify a "culprit" is this line in the mapbook:

<url>/geoserver/eng_svcs/ows</url>

which I only edited by replacing the "GeoMOOSE_Testing" workspace name from the original demo mapbook.

Firebug tells me the call being made by GM is

http://"hostname_removed"/geoserver/eng_svcs/ows

which tells me the URL re-writing is working, but it never seems to complete. The Firebug wheel spins eternally.

Using that URL directly in Firefox results in

<ows:ExceptionReport version="1.0.0" xsi:schemaLocation=http://www.opengis.net/ows http://ip_address_removed":8080/geoserver/schemas/ows/1.0.0/owsExceptionReport.xsd">
       <ows:Exception exceptionCode="InvalidParameterValue" locator="service">
       <ows:ExceptionText>No service: ( ows )</ows:ExceptionText>
       </ows:Exception>
</ows:ExceptionReport>

If I use the WFS request that is inside the CDATA in the mapbook the server returns what appears  to be valid data for the specified layer.

The ip address in the exception report and the hostname in the OWS call is the same server.

Please advise.

Thanks!
Johan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: edit_attr2.JPG
Type: image/jpeg
Size: 20166 bytes
Desc: edit_attr2.JPG
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20121019/402d36af/attachment-0001.jpe>


More information about the Geomoose-users mailing list