[mapserver-users] Union Layers and GetLegendGraphic

2011-05-18 Thread Keith Moss
Hi all,
 
Just noticed an issue with the new 'UNION' layer type in MapServer 6.
 
With 'STYLEITEM AUTO' set the styles are inherited for GetMap requests but, it 
seems, not for GetLegendGraphic requests. Giving the UNION layer a copy of the 
styles for the source layers works, but obviously this is exactly ideal. Just 
wondering if this is on anyone's "to implement" list?
 
cheers
 
__ 
Keith Moss
Satellite Remote Sensing Services
Operations
Landgate
65 Brockway Road, FLOREAT WA 6014
PO Box 741 Wembley WA 6913
Ph. (08) 9387 0332 | Fx. (08) 9383 7142
keith.m...@landgate.wa.gov.au  
www.landgate.wa.gov.au  

This e-mail and any files transmitted with it are intended only for the use of 
the addressee(s). It may contain information that is confidential and 
privileged, in which case neither is intended to be waived or lost by mistaken 
delivery to you. If you are not an intended recipient, any use, interference 
with, disclosure, distribution or copying of this material is unauthorised and 
prohibited. If you receive this e-mail in error, please notify the sender by 
return e-mail and delete the message and any attachments from your system. 
Unless specifically indicated, this e-mail does not constitute formal advice or 
commitment by the sender or the Western Australian Land Information Authority 
(Landgate). Information in this message not relating to the official business 
of Landgate shall be understood as neither given nor endorsed by it. It is your 
responsibility to check any attachments for viruses and defects before opening 
or sending them on. Landgate’s liability is limited to re-supplying affected 
attachments.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Patch for #2903

2011-05-18 Thread Lime, Steve D (DNR)
I updated the ticked to reflect a 5.6.7 release target and will apply the patch 
asap... Steve

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Peter Hopfgartner
Sent: Wednesday, May 18, 2011 8:35 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Patch for #2903

Could 
http://trac.osgeo.org/mapserver/attachment/ticket/2903/mapserver.ticket_2903.patch
 ba applied to branch-5-6 ?

BTW: the problem seems to be fixed in 6.0, so the ticket can be closed.



Peter Hopfgartner

 

R3 GIS Srl - GmbH

http://www.r3-gis.com



___
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] nquery and getfeatureinfo

2011-05-18 Thread Daniel Morissette

On 11-05-18 09:24 AM, Eric Weisbender wrote:

Does nquery execute a getfeatureinfo request on wms layer?



No. There is no support for queries on CONNECTIONTYPE WMS layers.

The main reason behind this limitation is that GetFeatureInfo is only 
loosely defined in the spec and there is no predictable way for 
MapServer (or any WMS client) to ingest a GetFeatureInfo response and do 
something meaningful with it (other than just forwarding the contents of 
the response without trying to interpret it). OGC recommends the use of 
WFS for queries.


--
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000

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


[mapserver-users] Patch for #2903

2011-05-18 Thread Peter Hopfgartner
Could 
http://trac.osgeo.org/mapserver/attachment/ticket/2903/mapserver.ticket_2903.patch
 ba applied to branch-5-6 ?
BTW: the problem seems to be fixed in 6.0, so the ticket can be closed.

Peter Hopfgartner
 
R3 GIS Srl - GmbH
http://www.r3-gis.com


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


[mapserver-users] nquery and getfeatureinfo

2011-05-18 Thread Eric Weisbender
Does nquery execute a getfeatureinfo request on wms layer?
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] savequery and queryfile

2011-05-18 Thread nikos

Hello,

I am wondering if someone could explain how to use savequery and 
queryfile

functionality to make a query map persistent for further operations.
I've read the docs but cant seem to get a handle on it.

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


[mapserver-users] compilation problem in java

2011-05-18 Thread ahmet temiz
hello

I tried to compile ms 6.0 in java

after changing java dir,

mapscript_wrap.c:135: fatal error: jni.h: No such file or directory
compilation terminated.
make: *** [mapscript_so] Error 1


I checked jni.h:

orkun@orkun-HP:~$ ls $JAVA_HOME/include/
classfile_constants.h  jawt.h  jdwpTransport.h  jni.h  jvmti.h  linux
// jni.h exists

I put :

export CPPFLAGS="-I$JAVA_HOME/include -I$JAVA_HOME/include/linux"

The problem still remains.

what could I do ?

regards
-- 
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Planlama ve Zarar Azaltma Dairesi Başkanlığı
Bilgi ve CBS grubu
Eskişehir Yolu 10. km.
Lodumlu / Ankara
Tel : 0 312 2872680 / 1535


Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Postgis itemquery help

2011-05-18 Thread nikos

 Hello,

 Am trying to perform an itemquery on a postgis layer and am getting 
the

 following error.

 prepare_database(): Query error. Error declaring cursor: ERROR:  
syntax

 error at or near
 "["
 LINE 1: ...the_geom)),'NDR'),gid::text from landunits WHERE
 ([cynara] >...
  ^

 With query string: DECLARE mycursor BINARY CURSOR FOR SELECT
 "cynara"::text,asb
 inary(force_collection(force_2d(the_geom)),'NDR'),gid::text
 from landunits WHERE
 ([cynara] > 1.0) and (the_geom && setSRID(
 'BOX3D(338975.96875 4319199,391
 293.59375 4383580.5)'::BOX3D,-1) )

 Here's what I send to the ms cgi

 queryfile=&img.x=225&img.y=225
 &zoomdir=0
 &zoomsize=2
 &map=/var/www/html/IUNG/IUNG.map
 &imgext=332944.031250 4319199.00 397325.531250 4383580.50
 &mapext=shape
 &layer=landunits
 &query_mode=itemquery
 &qlayer=landunits
 &qstring=([cynara] > 1.0)
 &qitem=cynara
 &w=450
 &h=450
 &imgxy=225.0 225.0
 &mode=itemquery
 &rnd982g=0.18569989648275098&ID=1305708848
 &fname=/IUNG/tmp/IUNG1305708848.html
 /var/www/html/IUNG/tmp/IUNG1305708848.gif

 Using mapserver  5.2.1
 The layer renders ok, and featurequeries work, so I'm thinking mapfile
 is ok...

 Would appreciate a little insight,
 thank you,

 nikos





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