Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

My organization has a asset management application using Google Maps Java API as the GIS viewer. The application does some simple editing/querying on a kml file through html form elements.

Instead of editing against the kml files, can the API edit/query against a WFS-T service (served by ArcGIS Server)?

If not, can I modify this OpenLayers WFS-T Using a GeoServer Hosted PostGIS (link below) Layerinstructions to edit against ArcGIS Server/SDE database/WFS-T?

http://www.gistutor.com/openlayers/22-advanced-openlayers-tutorials/47-openlayers-wfs-t-using-a-geoserver-hosted-postgis-layer.html

//wfs-t editable overlay
var wfs_layer = new OpenLayers.Layer.Vector("Editable Features", {
strategies: [new OpenLayers.Strategy.BBOX(), saveStrategy],
//projection: new OpenLayers.Projection("EPSG:26910"),
protocol: new OpenLayers.Protocol.WFS({
version: "1.1.0",
// loading data through localhost url path
url: "http://localhost/geoserver/wfs",
featureNS :  "http://www.opengeospatial.net/cite",
maxExtent: mapextent,
// layer name
featureType: "wfst_test",
// geometry column name
geometryName: "the_geom",
schema: "http://localhost/geoserver/wfs/DescribeFeatureType?version=1.1.0&;typename=cite:wfst_test"
})
}); 

Thank You!

share|improve this question
add comment

2 Answers

ArcGIS Server has supported WFS-T since 2009. Their help site has a tutorial on publishing WFS-T layers. You might want to check it out. There's also a paper on the ESRI developer library that shows an overview of the OGC capabilities that you can leverage with ArcGIS Server.

I suggest that you check the paper first and then dive into the tutorial once you're convinced that it's the one you want. You shouldn't have to change anything on the OpenLayers side. It's the ArcGIS Server side that you have to configure.

share|improve this answer
    
I'm still a bit confused of how the "// loading data through localhost url path" code section would look pulling from a ArcGIS Server WFS-T service. Do you know or have any examples of this? thanks! –  artwork21 Feb 27 '12 at 14:53
    
What is the URL of the ArcGIS server? Check the How to acquire the URL for your WFS service section of webhelp.esri.com/arcgisserver/9.3/java/… –  R.K. Feb 28 '12 at 10:13
    
I know my WFS url. Does that replace the "url: "localhost/geoserver/wfs","; line? localhost/arcgis/services/myservice/MapServer/WFSServer –  artwork21 Feb 28 '12 at 13:01
    
What do I put then for featureNS:, featureType:, geometryName:, and schema:? –  artwork21 Feb 28 '12 at 13:03
    
That'd depend on your layer. Could you post the result of the GetCapabilities query? It's in the link I posted. The Connecting to your WFS service through a web browser section. –  R.K. Feb 28 '12 at 13:13
add comment

I don't know if ArcGIS Server supports WFS-T. They didn't a few years ago.

But one way (if you are stuck with ArcGIS) should be to let GeoServer generate the wfs-t service from ArcGIS data.

http://docs.geoserver.org/stable/en/user/data/arcsde.html

HTH Nicklas

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.