Check out GEOS and PostGIS, they have Area functions and other yummy stuff. I think that you would want to generate the area information before serving up the layers. Is their a reason why the area values must be generated dynamically (and not just a static field)?

Aaron

On 6/19/06, Xavm40 <[EMAIL PROTECTED]> wrote:
 
 
I'm using Mapscript with C#.
i need to get layer feature to make intersections avec to calcule areas. I'm in trouble because i just saw that the shapeObj Object has no area function. AAAHH 
 
regards 
 

-----------------------------------------

Xavier Mauclaire

-------------------------------------------------------


 

 


De : Aaron Koning [mailto:[EMAIL PROTECTED]]
Envoyé : lundi 19 juin 2006 22:28
À : Xavier Mauclaire; [email protected]
Objet : Re: [UMN_MAPSERVER-USERS] Selecting all layer features with mapscript

Are you using MapScript? The OGR C API or OGR/PHP might be the way to go (for sequential feature access) if you don't have a need for serving maps whilst performing "statisticals opérations". More context/details would be helpful.

Aaron

On 6/19/06, Xavier Mauclaire <[EMAIL PROTECTED]> wrote:
Hi,
I would like to statisticals opérations on all layers features. To do that i need to sequentialy access to each feature of  the layer.
 How can i do that ?
 
regards

-----------------------------------------

Xavier Mauclaire

-------------------------------------------------------


 

 



--
+--------------------------------------------
|  Aaron Koning
|  Information Technologist
|  Prince George, BC, Canada.
+--------------------------------------------
|  http://datashare.gis.unbc.ca/fist/
|  http://datashare.gis.unbc.ca/gctp-js/
+--------------------------------------------



--
+--------------------------------------------
|  Aaron Koning
|  Information Technologist
|  Prince George, BC, Canada.
+--------------------------------------------
|  http://datashare.gis.unbc.ca/fist/
|  http://datashare.gis.unbc.ca/gctp-js/
+--------------------------------------------

Reply via email to