On Fri, Jan 15, 2016 at 1:48 AM, Phil Scadden <[email protected] <mailto:[email protected]>> wrote:

    thanks for that. However, I get geometry  even if outputformat is
    GML or
    CSV. This didnt happen in earlier geoserver versions.


I'd be very surprised if that was the case, the engine deciding whether to include a property or not in the output does not know which output format is being used,
it never did as far as I know.
Misunderstanding. I am not asserting that properties returned depend on outFormat. Ben seemed to be suggesting this might be why I am getting geometry. What I am asserting is that earlier version didnt return geometry if it wasnt on the property list.
Could it be that the table constraints changed around the same time you
upgraded GeoServer instead?
No. SHAPE is nullable in the underlying SDE store. The maintenance process for the table regularly sets shape to null to force recalculation of the geometry from attributes in the same table. I assert that I am not getting the geometry because shape is set to not null.
Or have you maybe switched from SDE to direct Oracle spatial usage (different
store, different behavior).
I wish... No, still stuck with SDE.

Thinking out loud, we could have a flag at the store level to make all properties nullable even if they are not... and then disallow editing on those same tables (since it cannot be done anymore in a predictable fashion, DFT says you can skip an attribute, but then you cannot).... or just document that at that point WFS-T
is not going to work reliably
The constraint of requiring not null properties to be returned regardless of whether in property list, is only useful within the context of WFS-T. That should be the flagging criteria. If not in a WFS-T context, then only send properties requested. I suspect that editing is rare but querying is common. I think OGC should consider a nogeometry switch like arcGIS server.



Notice: This email and any attachments are confidential.
If received in error please destroy and immediately notify us.
Do not copy or disclose the contents.

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to