Polygons extents

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Polygons extents

Eduardo Zenaide
hi all,

MapServer can return - as an query, for example - extents for any polygon in a .shp?
If so, how? There's a list of parameters to do that?

thanks!

--
Eduardo Zenaide
Reply | Threaded
Open this post in threaded view
|

Re: Polygons extents

Steve Lime
Through a query template you can access:

  - a shape extent using [shpext] or [shpminx], [shpmaxx], ...
  - the shape coordinates itself using [shpxy]

See the template reference guide on the MapServer website.

Steve

>>> On 3/20/2007 at 1:02 PM, in message
<[hidden email]>, Eduardo Zenaide
<[hidden email]> wrote:
> hi all,
>
> MapServer can return - as an query, for example - extents for any polygon in
> a .shp?
> If so, how? There's a list of parameters to do that?
>
> thanks!
Reply | Threaded
Open this post in threaded view
|

Re: Polygons extents

Eduardo Zenaide
it's an old question, but... there's no way to get extents for only one polygon inside a shp?

i have one shp with all cities from one country. i want to do the query and return only the capital's extent, only as example.

thanks


2007/3/20, Steve Lime <[hidden email]>:
Through a query template you can access:

  - a shape extent using [shpext] or [shpminx], [shpmaxx], ...
  - the shape coordinates itself using [shpxy]

See the template reference guide on the MapServer website.

Steve

>>> On 3/20/2007 at 1:02 PM, in message
<[hidden email]>, Eduardo Zenaide
<[hidden email]> wrote:
> hi all,
>
> MapServer can return - as an query, for example - extents for any polygon in
> a .shp?
> If so, how? There's a list of parameters to do that?
>
> thanks!




--
Eduardo Zenaide
Reply | Threaded
Open this post in threaded view
|

Re: Polygons extents

Eduardo Zenaide
sorry. just figured that [shpxy] returns extents for each polygon.

thanks again :)

2007/4/17, Eduardo Zenaide <[hidden email]>:
it's an old question, but... there's no way to get extents for only one polygon inside a shp?

i have one shp with all cities from one country. i want to do the query and return only the capital's extent, only as example.

thanks


2007/3/20, Steve Lime <[hidden email]>:
Through a query template you can access:

  - a shape extent using [shpext] or [shpminx], [shpmaxx], ...
  - the shape coordinates itself using [shpxy]

See the template reference guide on the MapServer website.

Steve

>>> On 3/20/2007 at 1:02 PM, in message
<[hidden email]>, Eduardo Zenaide
<[hidden email]> wrote:
> hi all,
>
> MapServer can return - as an query, for example - extents for any polygon in
> a .shp?
> If so, how? There's a list of parameters to do that?
>
> thanks!




--
Eduardo Zenaide



--
Eduardo Zenaide