Hot answers tagged

4

The best place to look for details like this is in the standard. Inserting non spatial attributes is done in exactly the same way as adding spatial attributes. First check the schema of the feature type by using a describeFeature request, then construct a Transaction request with the attribute values in the same order as the schema requires.


1

Caution note: I'm not the writer of the module and I have very little experience with it, but I'm a geotools developer and I've worked on the imagemosaic (non jdbc) module. I believe what you're looking for is currently not possible, and would require changes to the imagemosaic-jdbc store. In particular, it would be useful if the store exposed a CQL ...


1

There were two issues in my requests. The first one was related with the URL. Initially I was using this URL: url = 'http://localhost:8080/geoserver/wfs' Including my_workspace name in the URL is necessary for this WFS-T Insert (according to here): url = 'http://localhost:8080/geoserver/my_workspace/wfs' The second issue was related with the namespace ...


1

You can simply create a CQL filter that combines the elements that you need to select, so: CQL_FILTER=phase=1 AND grade='A' OpenLayers should take care of URL encoding it for you.


1

No - there is no way to push just a dbf file to GeoServer. The easiest way to do it would be to open the file in OpenOffice or Excel and save it as CSV format. Then add the unsupported community csv-datastore to your GeoServer WEB-INF/lib folder.



Only top voted, non community-wiki answers of a minimum length are eligible