Selecting all layer features with mapscript
Aaron Koning
aaronkoning at GMAIL.COM
Mon Jun 19 13:52:38 PDT 2006
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 <xavm40 at yahoo.fr> 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:aaronkoning at gmail.com]
> *Envoyé :* lundi 19 juin 2006 22:28
> *À :* Xavier Mauclaire; MAPSERVER-USERS at lists.umn.edu
> *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 <xavier.mauclaire at geoter.fr> 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/
+--------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060619/c66a0805/attachment.htm>
More information about the MapServer-users
mailing list