Tag Info

New answers tagged

0

I solved this by adding a database trigger which modifies attempts to update the view's data (which is not possible since it is read-only) into updates to the source data. Like so: CREATE OR REPLACE TRIGGER AREA_INSERT INSTEAD OF INSERT ON TESTVIEW REFERENCING NEW AS n FOR EACH ROW BEGIN insert into area (id, some_other_id, geometry) values (:n.ID, ...


1

as user stuporglue already mentioned the style is not a specific wfs-t issue, but you can just have a look at a nice website with Information about the Feature-Style and Stylemaps: http://www.peterrobins.co.uk/it/olstyle.html For your Vector-/WFS-T-Layer you could use something like that: var defStyle = { fillColor: "#ff0000", strokeColor: "green", ...


0

This isn't a WFS-T issue, just an OpenLayers issue. WFS-T is just the protocol for creating, editing and deleting features, it doesn't affect how the feature is displayed by OpenLayers.


0

@Vince makes a very valid point in his comment. However here's a few ideas you could consider as a means of completing your Masters project. Meteorological station data: there is a lot of met-station data available on the web both as live RSS feeds and as historic tabular data that you could use to fake an RSS feed. Availability will depend on your ...


0

Hope it helps someone: The point was that tinyows (version 1.0.0) when adding a new feature when getting a "insert" transaction request, adds a random string as GID. Now GID is either an integer or a biginteger, and defaults to NEXTVAL(sequence) in the Postgres/Postgis table. The GID that tinyows created was too big (out of range). Tinyows works fine ...


2

Why are creating your own WFS implementation? Can't you just use geoserver? WFS is a complex type of service, this won't be easy. Anyway the response for WFS-GetFeature should include GML and optionally any other format you want. Geotools can provide you with the right JAVA API's to do this. Just look at the documentation of geoserver for WFS if you want ...



Top 50 recent answers are included