Selecting all layer features with mapscript
Aaron Koning
aaronkoning at GMAIL.COM
Mon Jun 19 14:13:49 PDT 2006
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 <xavm40 at yahoo.fr> 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:MAPSERVER-USERS at LISTS.UMN.EDU] *De
> la part de* Aaron Koning
> *Envoyé :* lundi 19 juin 2006 22:53
> *À :* MAPSERVER-USERS at LISTS.UMN.EDU
>
> *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 <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/
> +--------------------------------------------
>
--
+--------------------------------------------
| 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/e3d85b49/attachment.htm>
More information about the MapServer-users
mailing list