[mapguide-users] show one symbol for each polygon.
GordonL
gordon.luckett at arrowgeomatics.com
Sun Oct 6 09:17:55 PDT 2013
You might have to get the centroids of the polygons using your dataset first.
For example, if you are using Oracle spatial,
select SDO_GEOM.SDO_CENTROID(mygeom,0.005) as myCentoidGeom from
mySpatialTable
or if you are using SQL Server:
select mygeom.STCentroid() as myCentroidGeom from mySpatialTable
and so on…
gordon
ps. You can create a view doing this and then you will have to either apply
a constraint (Oracle) or SCHEMABINDING with index (SQL Server) or use
Jackie's technique of overriding the schema but you have to do this each
time your database changes -
http://themapguyde.blogspot.ca/2010/09/using-fdo-schema-overrides-redux.html
It would be nice to do Schema Overrides within Maestro (or Studio)….
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/show-one-symbol-for-each-polygon-tp5081669p5082062.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list