Not off hand. From what I can see in the docs, the only GEOS associated functions are: buffer, convexhull, union_geos, intersection and difference (all via the shapeobj). I don't see any area functions exposed in MapScript.

What format is your data in? Maybe you could import it into PostGIS. Then if you need dynamic operations you can connect directly to the DB to perform them using PostGIS functions.
Checkout:
     http://postgis.refractions.net/docs/ch06.html

Aaron

On 6/19/06, Xavm40 <[EMAIL PROTECTED]> wrote:
I've compiled mapserver with geos option but i don't how to use it with mapscript and C#. Have you got any odea about this ?
 regards
 
 

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

Xavier Mauclaire

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


 

 


De : UMN MapServer Users List [mailto:[email protected]] De la part de Aaron Koning
Envoyé : lundi 19 juin 2006 22:53
À : [email protected]

Objet : Re: [UMN_MAPSERVER-USERS] Selecting all layer features with mapscript

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/
+--------------------------------------------



--
+--------------------------------------------
|  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