A rough example would be:
MgFeatureService featSvc = ...;
MgResourceIdentifer featureSourceId = ...;
string className = ...;
string geom = "Geometry";
//This is how you use the SpatialExtents() function
MgFeatureAggregateOptions query = new MgFeatureAggregateOptions();
query.AddComputedPropert
can u provide me a link for such example so that i can try this.Actually i
need to get the coordinates of the center point of the layer
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/coordinates-of-layer-extent-mapguide-tp5888314p5898339.html
Sent from the MapGuide Users
Spatial contexts are not a reliable way to get the true extents of a given
layer especially for RDBMS providers like SQL Server, as the extents will be
static.
Instead, you should use the SpatialExtents() aggregate
function. Most providers support this function.
- Jackie
--
View this message i
My data is a shapefile which i have stored in sql2008.and it should return
values such as
Polygon ((-122.185 36.91,-121.212 37.521,-122.209 37.512,-121.211
36.908)) which is the extent of the layer.
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/coordinates-of-
what are the extents of your data that you expect?
what data & db are you using?
On Thu, Jan 6, 2011 at 9:15 PM, yashika wrote:
>
> please sumbody help
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/coordinates-of-layer-extent-mapguide-tp5888314p5895032.html
> Sen
please sumbody help
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/coordinates-of-layer-extent-mapguide-tp5888314p5895032.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
___
mapguide-users mailing list
map