[OpenLayers-Users] Update the_geom field only
michael6779
michael.tang at mallontechnology.com
Thu Jul 9 04:48:38 PDT 2015
Hi,
Is there anyway to have only the_geom field updated when you save the
feature?
At the moment I'm using Geoserver with Openlayer 2.13 and I have a table
with a bit field in it. Currently Geoserver doesn't support writing to
bitfields but it supports reading from it.
What I want to do is update the geometry field of a feature but not alter
other attributes. Is this possible?
I tried deleting the attribute like this
delete feature.attributes[attributeName]
or setting the attribute to null like this
feature.attributes[attributeName] = null
But it doesn't work and still fail to save.
I know that the bit field is preventing the feature from saving as I have
verified that it works by removing that field in database and saving.
Michael
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Update-the-geom-field-only-tp5215041.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list