Re: [mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Donald Kerr
Martin,

minx etc refers to the overall map extents as defined in the map file and
shpminx etc refers to the individual features themselves so they won't work
as wanted.

Thanks anyway.

Regards,

Donald


-Original Message-
From: Martin Kofahl [mailto:m.kof...@gmx.net] 
Sent: 24 July 2012 21:48
To: Donald Kerr; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver Template - BBOX


Hi Donald,

didn't actually try myself, but what about the tags [minx], [miny], [maxx],
[maxy] or [shpminx], [shpminy], [shpmaxx], [shpmaxy] mentioned at
http://mapserver.org/mapfile/template.html?

Kind regards,
Martin

 Original-Nachricht 
> Datum: Tue, 24 Jul 2012 10:56:41 +0100
> Von: "Donald Kerr" 
> An: mapserver-users@lists.osgeo.org
> Betreff: [mapserver-users] Mapserver Template - BBOX

> Hi list,
> 
> I am trying to use BBOX in a WFS query template where I need to get 
> the minx, miny etc in the following format:
> 
> "258481,665862 258607,665956" i.e. a space between coordinate pairs 
> which are separated by a comma.
> 
> In the template, [bbox] returns "258481,665862,258607,665956" with 
> each value separated by a comma.
> 
> I have tried "[bbox.minx],[bbox.miny] [bbox.maxx],[bbox.maxy]" without 
> success.
> 
> Is there a way to achieve what I am looking for?
> 
> Many thanks.
> 
> Regards,
> 
> Donald
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Martin Kofahl
Hi Donald,

didn't actually try myself, but what about the tags [minx], [miny], [maxx], 
[maxy] or [shpminx], [shpminy], [shpmaxx], [shpmaxy] mentioned at 
http://mapserver.org/mapfile/template.html?

Kind regards,
Martin

 Original-Nachricht 
> Datum: Tue, 24 Jul 2012 10:56:41 +0100
> Von: "Donald Kerr" 
> An: mapserver-users@lists.osgeo.org
> Betreff: [mapserver-users] Mapserver Template - BBOX

> Hi list,
> 
> I am trying to use BBOX in a WFS query template where I need to get the
> minx, miny etc in the following format:
> 
> "258481,665862 258607,665956" i.e. a space between coordinate pairs which
> are separated by a comma.
> 
> In the template, [bbox] returns "258481,665862,258607,665956" with each
> value separated by a comma.
> 
> I have tried "[bbox.minx],[bbox.miny] [bbox.maxx],[bbox.maxy]" without
> success.
> 
> Is there a way to achieve what I am looking for?
> 
> Many thanks.
> 
> Regards,
> 
> Donald
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Donald Kerr
Steve,

"[rawext]" has the same limitations as "[mapext]" which provides the overall
extents as defined in the map file.

I have created a ticket as you suggested:

https://github.com/mapserver/mapserver/issues/4405

Many thanks.

Regards,

Donald



-Original Message-
From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] 
Sent: 24 July 2012 16:07
To: Donald Kerr; 'Eichner, Andreas - SID-NLKM';
mapserver-users@lists.osgeo.org
Subject: RE: [mapserver-users] Mapserver Template - BBOX


Wonder if [rawext] will work? Worth a quick try but I doubt it. That value
will get you the un-altered extent used for map draws or queries but only
through CGI calls.

I think what's happening is that because WFS works generally outside the CGI
object that that some of the tracking 
variables referenced by the template code aren't being populated.

The fix is relatively easy but there are a number of ways to go about it.
Donald, can you create a ticket so this 
can get into 6.2 (I hope)...

Steve

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Donald Kerr
Sent: Tuesday, July 24, 2012 7:26 AM
To: 'Eichner, Andreas - SID-NLKM'; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver Template - BBOX

Andreas,

Thanks, but this only works for the individual features within [resultset].
I need to get the BBOX values which is basicallly the overall bounds of the
query. [mapext] doesn't work either as that takes the bounds from the map
file which are much greater than the BBOX for the query.

Many thanks.

Regards,

Donald

-Original Message-
From: Eichner, Andreas - SID-NLKM [mailto:andreas.eich...@sid.sachsen.de]
Sent: 24 July 2012 12:35
To: Donald Kerr; mapserver-users@lists.osgeo.org
Subject: AW: [mapserver-users] Mapserver Template - BBOX



You might try:
 [shpminx], [shpminy], [shpmaxx], [shpmaxy]
Minimum / maximum X or Y coordinate of shape extent. Available only when
processing query results.


See http://mapserver.org/mapfile/template.html#query

HTH

> -Ursprüngliche Nachricht-
> Von: mapserver-users-boun...@lists.osgeo.org
> [mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag
> von Donald Kerr
> Gesendet: Dienstag, 24. Juli 2012 11:57
> An: mapserver-users@lists.osgeo.org
> Betreff: [mapserver-users] Mapserver Template - BBOX
> 
> Hi list,
> 
> I am trying to use BBOX in a WFS query template where I need to get 
> the minx, miny etc in the following format:
> 
> "258481,665862 258607,665956" i.e. a space between coordinate pairs 
> which are separated by a comma.
> 
> In the template, [bbox] returns "258481,665862,258607,665956" with 
> each value separated by a comma.
> 
> I have tried "[bbox.minx],[bbox.miny] [bbox.maxx],[bbox.maxy]" without
> success.
> 
> Is there a way to achieve what I am looking for?
> 
> Many thanks.
> 
> Regards,
> 
> Donald
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Lime, Steve D (DNR)
Wonder if [rawext] will work? Worth a quick try but I doubt it. That value will 
get you the un-altered extent used
for map draws or queries but only through CGI calls.

I think what's happening is that because WFS works generally outside the CGI 
object that that some of the tracking 
variables referenced by the template code aren't being populated.

The fix is relatively easy but there are a number of ways to go about it. 
Donald, can you create a ticket so this 
can get into 6.2 (I hope)...

Steve

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Donald Kerr
Sent: Tuesday, July 24, 2012 7:26 AM
To: 'Eichner, Andreas - SID-NLKM'; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Mapserver Template - BBOX

Andreas,

Thanks, but this only works for the individual features within [resultset].
I need to get the BBOX values which is basicallly the overall bounds of the 
query. [mapext] doesn't work either as that takes the bounds from the map file 
which are much greater than the BBOX for the query.

Many thanks.

Regards,

Donald

-Original Message-
From: Eichner, Andreas - SID-NLKM [mailto:andreas.eich...@sid.sachsen.de]
Sent: 24 July 2012 12:35
To: Donald Kerr; mapserver-users@lists.osgeo.org
Subject: AW: [mapserver-users] Mapserver Template - BBOX



You might try:
 [shpminx], [shpminy], [shpmaxx], [shpmaxy]
Minimum / maximum X or Y coordinate of shape extent. Available only when
processing query results.


See http://mapserver.org/mapfile/template.html#query

HTH

> -Ursprüngliche Nachricht-
> Von: mapserver-users-boun...@lists.osgeo.org
> [mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag 
> von Donald Kerr
> Gesendet: Dienstag, 24. Juli 2012 11:57
> An: mapserver-users@lists.osgeo.org
> Betreff: [mapserver-users] Mapserver Template - BBOX
> 
> Hi list,
> 
> I am trying to use BBOX in a WFS query template where I need
> to get the
> minx, miny etc in the following format:
> 
> "258481,665862 258607,665956" i.e. a space between coordinate
> pairs which
> are separated by a comma.
> 
> In the template, [bbox] returns "258481,665862,258607,665956"
> with each
> value separated by a comma.
> 
> I have tried "[bbox.minx],[bbox.miny] [bbox.maxx],[bbox.maxy]" without 
> success.
> 
> Is there a way to achieve what I am looking for?
> 
> Many thanks.
> 
> Regards,
> 
> Donald
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Donald Kerr
Andreas,

Thanks, but this only works for the individual features within [resultset].
I need to get the BBOX values which is basicallly the overall bounds of the
query. [mapext] doesn't work either as that takes the bounds from the map
file which are much greater than the BBOX for the query.

Many thanks.

Regards,

Donald

-Original Message-
From: Eichner, Andreas - SID-NLKM [mailto:andreas.eich...@sid.sachsen.de] 
Sent: 24 July 2012 12:35
To: Donald Kerr; mapserver-users@lists.osgeo.org
Subject: AW: [mapserver-users] Mapserver Template - BBOX



You might try:
 [shpminx], [shpminy], [shpmaxx], [shpmaxy]
Minimum / maximum X or Y coordinate of shape extent. Available only when
processing query results.


See http://mapserver.org/mapfile/template.html#query

HTH

> -Ursprüngliche Nachricht-
> Von: mapserver-users-boun...@lists.osgeo.org
> [mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag 
> von Donald Kerr
> Gesendet: Dienstag, 24. Juli 2012 11:57
> An: mapserver-users@lists.osgeo.org
> Betreff: [mapserver-users] Mapserver Template - BBOX
> 
> Hi list,
> 
> I am trying to use BBOX in a WFS query template where I need
> to get the
> minx, miny etc in the following format:
> 
> "258481,665862 258607,665956" i.e. a space between coordinate
> pairs which
> are separated by a comma.
> 
> In the template, [bbox] returns "258481,665862,258607,665956"
> with each
> value separated by a comma.
> 
> I have tried "[bbox.minx],[bbox.miny] [bbox.maxx],[bbox.maxy]" without 
> success.
> 
> Is there a way to achieve what I am looking for?
> 
> Many thanks.
> 
> Regards,
> 
> Donald
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Eichner, Andreas - SID-NLKM

You might try:
 [shpminx], [shpminy], [shpmaxx], [shpmaxy]
Minimum / maximum X or Y coordinate of shape extent. Available only when 
processing query results.


See http://mapserver.org/mapfile/template.html#query

HTH

> -Ursprüngliche Nachricht-
> Von: mapserver-users-boun...@lists.osgeo.org 
> [mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag 
> von Donald Kerr
> Gesendet: Dienstag, 24. Juli 2012 11:57
> An: mapserver-users@lists.osgeo.org
> Betreff: [mapserver-users] Mapserver Template - BBOX
> 
> Hi list,
> 
> I am trying to use BBOX in a WFS query template where I need 
> to get the
> minx, miny etc in the following format:
> 
> "258481,665862 258607,665956" i.e. a space between coordinate 
> pairs which
> are separated by a comma.
> 
> In the template, [bbox] returns "258481,665862,258607,665956" 
> with each
> value separated by a comma.
> 
> I have tried "[bbox.minx],[bbox.miny] [bbox.maxx],[bbox.maxy]" without
> success.
> 
> Is there a way to achieve what I am looking for?
> 
> Many thanks.
> 
> Regards,
> 
> Donald
> 
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Mapserver Template - BBOX

2012-07-24 Thread Donald Kerr
Hi list,

I am trying to use BBOX in a WFS query template where I need to get the
minx, miny etc in the following format:

"258481,665862 258607,665956" i.e. a space between coordinate pairs which
are separated by a comma.

In the template, [bbox] returns "258481,665862,258607,665956" with each
value separated by a comma.

I have tried "[bbox.minx],[bbox.miny] [bbox.maxx],[bbox.maxy]" without
success.

Is there a way to achieve what I am looking for?

Many thanks.

Regards,

Donald

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users