[Mapserver-dev] Re: layer queryByShape and SDE
peter.slootweg at shaw.ca
Fri Jan 16 13:53:19 EST 2004
Not sure if it is related but,
does your SDE layer have any records with a NULL in the SPATIAL (usually
named SHAPE) column.
we have run into an issue using the SDE api directly(and via MO) where
searchbyshape fails because of a NULL value in the
spatial_column(SHAPE). One possible way around this is to exclude the
NULL shapes from your query e.g. add "AND SHAPE is not NULL"
not sure how this translates into Mapserver/Python wrappers.
More information about the mapserver-dev