[mapguide-users] Mesure area functionality
Jackie Ng
jackie.ng at aecsystems.com.au
Tue Aug 14 23:06:17 EDT 2007
Hi Alex,
I think the simplest way would be to invoke the mapframe's DigitizePolygon()
method, which will grab the user input. Trace the area you want to measure.
Once the input is complete, post that to a server-side script that will
create an MgPolygon from the digitized input, and calculate the area of that
MgPolygon.
- Jackie
Alex Campos wrote:
>
> Hi, everyone
>
> I'm currently looking for a way to mesure areas using the mapguide
> (open source, v 1.1.0), thru the web interface. I've looked in the
> built-in commands of the web layout and there is none that supplies this
> functionality. Additionally, I've searched the project's TRAC for the
> upcoming mapguide 1.2.0 and I couldn't find anything related to this
> kind of functionality planned. Also, the mapguide wishlist
> (http://wiki.osgeo.org/index.php/MapGuide_Wishes) has an item asking for
> this functionality (item 33). Therefore I'am assuming this functionality
> isn't available (at least in an easy-to-find way :) ).
>
> Have anyone implemented this functionality (measure area) in the
> mapguide open source 1.1.0 or done anything like it?
>
> Thanks in advance.
> Alex Campos
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>
>
--
View this message in context: http://www.nabble.com/Mesure-area-functionality-tf4267861s16610.html#a12155754
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list