[mapguide-users] Resample or Clip expression for WMS connection
Jackie Ng
jumpinjackie at gmail.com
Fri Jun 16 09:38:18 PDT 2023
That's strange. Then again perhaps Map3D's implementation of this API
behaves differently from its MapGuide counterpart.
Either way, what you want is the name of the raster property definition in
the feature class. From your current MgLayerBase (lyr) you can get its
class definition (lyr.GetClassDefinition()).
In that class definition, loop through its property collection until you
find one whose type is raster. The name of that property is what you want
to pass into CLIP()
- Jackie
You wrote:
Thank you Jackie! This is very helpful.
Now I’m getting and Exception when executing the ISelect. I think it
is because lyr.GetFeatureGeometryName() returns an empty string.
--
*Please Note: I no longer create new posts or post replies to any OSGeo
mailing list through nabble. As a result, you most likely won't see this
message appear on nabble's view of any OSGeo mailing list and may only see
this message through mailing list archives or depending on your mailing
list subscription settings, through daily message digests or automated
notifications from the mailing lists.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20230617/d4245685/attachment.htm>
More information about the mapguide-users
mailing list