Re: [mapserver-users] Query

2019-11-15 Thread Michael Smith
I have it as a task to push updates to it this weekend. I’ll bring it up to date writhe the current MapServer release. Michael Smith > On Nov 15, 2019, at 5:49 PM, Steve Lime wrote: > >  > That was setup by one of the MapServer PSC members and can be considered > official - it's a little

Re: [mapserver-users] Query

2019-11-15 Thread Steve Lime
That was setup by one of the MapServer PSC members and can be considered official - it's a little out of date however (MapServer 7.2 I believe). On Fri, Nov 15, 2019 at 8:54 AM Bobby Biran wrote: > Hi MapServer > > > > We can across https://hub.docker.com/u/mapserver in DockerHub and wanted >

[mapserver-users] Query

2019-11-15 Thread Bobby Biran
Hi MapServer   We can across https://hub.docker.com/u/mapserver in DockerHub and wanted to confirm if this is an official account from yourselves ?   Regards Bobby    Unless stated otherwise above: IBM United Kingdom Limited - Registered in England and Wales with number 741598. Registered office:

Re: [mapserver-users] query in mapfile

2015-06-18 Thread thomas bonfort
http://mapserver.org/cgi/runsub.html On 18 June 2015 at 15:23, hosain mohammadi hosain.mo...@gmail.com wrote: the code below is a layer in map file in this code i want create a query in postgis for shortestpath but a the number 77 and 388 is the source and target and the result create

[mapserver-users] query in mapfile

2015-06-18 Thread hosain mohammadi
the code below is a layer in map file in this code i want create a query in postgis for shortestpath but a the number 77 and 388 is the source and target and the result create successfully but my problem is how insert the number ( 77, 388) in template file or insert by user how insert from

[mapserver-users] query wms_group layer

2013-07-25 Thread Zmitser Kozhukh
Hello list, i would like to enquire if it is possible to make queryable wms_group layer? Let's say I have three queryable layers in mapfile, that are meant for different scales. Now I group them by GROUP keyword under LAYER and also add wms_group_title metadata keyword. After I do that and add

Re: [mapserver-users] Query one return multiple

2013-04-29 Thread Lime, Steve D (MNIT)
: Wednesday, April 17, 2013 11:40 AM To: mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org Subject: [mapserver-users] Query one return multiple Hello list, I was wondering if there is a way to query a point and return not only attributes for that point but the next points attribute

Re: [mapserver-users] Query one return multiple

2013-04-24 Thread Weisbender, Eric
@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org Subject: [mapserver-users] Query one return multiple Hello list, I was wondering if there is a way to query a point and return not only attributes for that point but the next points attribute in order in the dbf. Thanks in advance. Thanks, EW

Re: [mapserver-users] Query one return multiple

2013-04-23 Thread Lime, Steve D (MNIT)
...@lists.osgeo.org] On Behalf Of Weisbender, Eric Sent: Wednesday, April 17, 2013 11:40 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Query one return multiple Hello list, I was wondering if there is a way to query a point and return not only attributes for that point

[mapserver-users] Query one return multiple

2013-04-17 Thread Weisbender, Eric
Hello list, I was wondering if there is a way to query a point and return not only attributes for that point but the next points attribute in order in the dbf. Thanks in advance. Thanks, EW ___ mapserver-users mailing list

[mapserver-users] query creation issues

2013-03-20 Thread Mark Mirrlees
Hello everyone, I'm trying to create a query so I can query the roads/expressways from the map. I'm pretty sure I have created the headers and footers correctly but not sure...regardless i'm not entirely too sure where to stick the particular code in my .map file (shown below). I have bolded

Re: [mapserver-users] query creation issues

2013-03-20 Thread Lime, Steve D (MNIT)
From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mark Mirrlees Sent: Wednesday, March 20, 2013 10:45 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] query creation issues Hello everyone,   I'm trying to create a query so

Re: [mapserver-users] query creation issues

2013-03-20 Thread Mark Mirrlees
=[shpext_esc]mapext=shapemap=[map];-- tr td /td td/td /tr Thanks,Mark From: steve.l...@state.mn.us To: mmirrl...@hotmail.com; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] query creation issues Date: Wed, 20 Mar 2013 17:00:47 + Hi Mark: Personally I'd steer you

Re: [mapserver-users] query creation issues

2013-03-20 Thread Lime, Steve D (MNIT)
You need to refer to the attributes next... trtd[NAME]/tdtd[TYPE]/td/tr Steve From: Mark Mirrlees [mailto:mmirrl...@hotmail.com] Sent: Wednesday, March 20, 2013 12:16 PM To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] query creation issues Hi Steve

Re: [mapserver-users] query creation issues

2013-03-20 Thread Mark Mirrlees
: steve.l...@state.mn.us To: mmirrl...@hotmail.com; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] query creation issues Date: Wed, 20 Mar 2013 18:22:29 + You need to refer to the attributes next… trtd[NAME]/tdtd[TYPE]/td/tr Steve From: Mark Mirrlees [mailto:mmirrl

Re: [mapserver-users] query creation issues

2013-03-20 Thread Lime, Steve D (MNIT)
Straight item tags like that ARE case sensitive. Try [item name=name] and [item name=type] instead. From: Mark Mirrlees [mailto:mmirrl...@hotmail.com] Sent: Wednesday, March 20, 2013 1:33 PM To: Lime, Steve D (MNIT); mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] query creation

Re: [mapserver-users] query creation issues

2013-03-20 Thread Stephen Woodbridge
From: steve.l...@state.mn.us To: mmirrl...@hotmail.com; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] query creation issues Date: Wed, 20 Mar 2013 18:22:29 + You need to refer to the attributes next… trtd[NAME]/tdtd[TYPE]/td/tr Steve *From

Re: [mapserver-users] query creation issues

2013-03-20 Thread Mark Mirrlees
of the road, and the type of the road. Thanks,Mark From: steve.l...@state.mn.us To: mmirrl...@hotmail.com; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] query creation issues Date: Wed, 20 Mar 2013 18:41:52 + Straight item tags like that ARE case sensitive. Try [item

Re: [mapserver-users] query creation issues

2013-03-20 Thread Mark Mirrlees
as this is causing a great deal of confusion why it won't work! Thanks,Mark From: mmirrl...@hotmail.com To: steve.l...@state.mn.us; mapserver-users@lists.osgeo.org Date: Wed, 20 Mar 2013 14:53:57 -0400 Subject: Re: [mapserver-users] query creation issues Hi there, Ok I managed to get this outputted

Re: [mapserver-users] query creation issues

2013-03-20 Thread Worth Lutz
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Mark Mirrlees Sent: Wednesday, March 20, 2013 3:47 PM To: steve.l...@state.mn.us; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] query creation issues Does anyone have any updates on how to fix this? As I mentioned before I

Re: [mapserver-users] query creation issues

2013-03-20 Thread Mark Mirrlees
; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] query creation issues Did you see this in Steve's email:   layer=mjrroadsshapeindex=[shpidx]shpext=[shpext_esc]mapext=shapema p=[map]-- tr    td[shpidx]/td   trtd[name]/td/tr    trtd[type]/td/tr /tr   Attribute binding

[mapserver-users] query problems

2013-03-19 Thread Mark Mirrlees
Hey all, One last issue (well for know anyway)... I want to create a basic query so when I open the query I am able to select the major roads and expressways from the mjrroads layer that was created! I have already created the header and footers but not sure where to stick the particular code

AW: [mapserver-users] query in postgis works but in mapfile failed, why??

2011-10-20 Thread Eichner, Andreas - SID-NLKM
and the same in my mapfile gives nothing: DATA'geom FROM (SELECT seismic_line.fid,seismic_line.profile,seismic_line.geom FROM seismic_line, sar_contour_line WHERE seismic_line.geom sar_contour_line.geom AND INTERSECTS(seismic_line.geom, sar_contour_line.geom) AND

RE: AW: [mapserver-users] query in postgis works but in mapfile failed,why??

2011-10-20 Thread Gery .
Thanks Andreas! your suggestion did the trick, thanks! Cheers, Gery Subject: AW: [mapserver-users] query in postgis works but in mapfile failed,why?? Date: Thu, 20 Oct 2011 12:28:23 +0200 From: andreas.eich...@sid.sachsen.de To: gameji...@hotmail.com; mapserver-users@lists.osgeo.org

[mapserver-users] Query-wrong results in IE8 if zoomsize is not 100%

2011-06-29 Thread Tipatino
Hi folks, a query at a point-shapefile gives unexpected results such as msQueryByPoint(): Search returned no results. No matching record(s) found if the zoom size of the Internet Explorer (8) is different then 100%. It seems like the coordinates you hit are different to the ones the MapServer is

RE: [mapserver-users] Query-wrong results in IE8 if zoomsize is not 100%

2011-06-29 Thread Fawcett, David (MPCA)
@lists.osgeo.org Subject: [mapserver-users] Query-wrong results in IE8 if zoomsize is not 100% Hi folks, a query at a point-shapefile gives unexpected results such as msQueryByPoint(): Search returned no results. No matching record(s) found if the zoom size of the Internet Explorer (8) is different

RE: [mapserver-users] query results lost

2011-06-12 Thread Worth Lutz
@lists.osgeo.org Subject: [mapserver-users] query results lost Hello...we upgraded to the latest ms4w version 3.0.1 (MapServer and MapScript to 5.6.6 ) and some things went bad. after doing a $oLayer-queryByPoint which yields results (layer-numresults0), a call to $map_object-saveQuery yields a file

[mapserver-users] query results lost

2011-06-10 Thread Ben Thompson
Hello...we upgraded to the latest ms4w version 3.0.1 (MapServer and MapScript to 5.6.6 ) and some things went bad. after doing a $oLayer-queryByPoint which yields results (layer-numresults0), a call to $map_object-saveQuery yields a file showing *no results*: MapServer Query - Generated by

[mapserver-users] Query on WFS Layer: Fatal error: [MapServer Error]: msQueryByShape(): No matching record(s) found

2011-04-20 Thread Francesco Sozzi
Hi list, I have a big problem on querying a WFS layer. Here you find both script and layer definition on mapfile. The problem is that $result-shapeindex has value 0 and I get the error: Fatal error: [MapServer Error]: msQueryByShape(): No matching record(s) found. Any suggestions? Best regards

RE: [mapserver-users] query question

2011-04-14 Thread Lime, Steve D (DNR)
Set the qlayer CGI parameter. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Eric Weisbender Sent: Thursday, April 14, 2011 1:26 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] query question How can I tell

[mapserver-users] query for ALL the layers

2010-10-26 Thread Sebastian E. Ovide
Hi All, I'm using a query from a MapInfo like this: DATA 'select * from sa_merged_01 where ogr_geometry = POLYGON or ogr_geometry = MULTIPOLYGON' Which select polygons and multipolygons from one single layer. My datasource have tens of layers (doing ogrinfo ./mydata/ I can see tens of

Re: [mapserver-users] query for ALL the layers

2010-10-26 Thread Daniel Morissette
Do all the files share exactly the same set of attributes? If yes then you could use a TILEINDEX (or create a Seamless Table in MapInfo) to load them all as part of the same layer. If the attributes definitions differ from file to file then I fear you're out of luck. Sebastian E. Ovide wrote:

[mapserver-users] query to mapserver

2010-10-03 Thread Eugenio Trumpy
good morning to all, i have a question: how can i make a query to mapserver by code? for example, if i give by code a cadastral parcel, i would like to know the layers contained, or included in that area, or which layers that cadastral parcel belong. anyone can halp me? Regard Eugenio

[mapserver-users] Query data in tileindex problem

2010-06-22 Thread Eric Weisbender
I'm drawing county parcel data using a tileindex layer definition that points to the parcel polys. When I Query a parcel I get the following error. Failed to draw layer named 'parcel' msDBFReadAttribute(): DBASE file error. Invalid field index 0. We just upgraded to Mapserver 5.6.3 from 4.10

Re: [mapserver-users] Query data in tileindex problem

2010-06-22 Thread Paul Ramsey
Perhaps there's an actual fix someone else knows about, I have only a comment: * If you were using tileindexes as a performance boost, you can move to a single unified shapefile, since the performance issues that used to require tileindexes as a workaround were removed in 5.4. Best, P On Tue,

[mapserver-users] Query functions with Oracle Spatial

2010-04-06 Thread Daiane Azevedo de Fraga
Mike, I'm using version 5.0.2. This version is the one that works in the application I'm using (incompatibilities...). But if this is the problem, so I at least know what direction to take. This explains why the tables that do not contain the field SE_ANNO_CAD_DATA have no trouble. Thank you for

[mapserver-users] Query functions with Oracle Spatial

2010-04-05 Thread Daiane Azevedo de Fraga
Hello! I tried to execute a query function through an interface. Appeared in the logfile: [Mon Apr 05 11:09:19 2010] msOracleSpatialLayerGetShape .621000 (): OracleSpatial error. Error parsing OracleSpatial DATA is variable query. To execute query functions you need to define one unique column

Re: [mapserver-users] Query functions with Oracle Spatial

2010-04-05 Thread Smith, Michael ERDC-CRREL-NH
Daiane, What version of Mapserver are you using? I suspect a version before 5.4 ( I think that is when it changed ). The SE_ANNO_CAD_DATA field is a BLOB and not a supported return type for queries. You can either upgrade to a newer version of Mapserver which excludes BLOB fields or you can write

[mapserver-users] query multiple layers

2010-03-24 Thread Eric Weisbender
I am querying one specific layer and values from that layer using qlayer, qitem, and qstring. e.g. qlayer=tlineqitem=nameqsting=happyjack. My questions would be how to do this on 2 specific layers at the same time/same query. Thanks, EW ___

RE: [mapserver-users] query multiple layers

2010-03-24 Thread Lime, Steve D (DNR)
@lists.osgeo.org Subject: [mapserver-users] query multiple layers I am querying one specific layer and values from that layer using qlayer, qitem, and qstring. e.g. qlayer=tlineqitem=nameqsting=happyjack. My questions would be how to do this on 2 specific layers at the same time/same query

RE: [mapserver-users] query by point results in IE vs. Firefox

2010-01-20 Thread Lime, Steve D (DNR)
...@lists.osgeo.org] On Behalf Of Jeanette McBride Sent: Tuesday, January 19, 2010 5:30 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] query by point results in IE vs. Firefox Query by point works fine in IE, but in Firefox it actually returns a point about half an inch (screen units

[mapserver-users] query by point results in IE vs. Firefox

2010-01-19 Thread Jeanette McBride
Query by point works fine in IE, but in Firefox it actually returns a point about half an inch (screen units) north of the one selected. (see link below) Any ideas? Thanks! Jenny http://www.plantconservation.us/map.phtml ___ mapserver-users mailing

[mapserver-users] query in ka-map with mapserver

2009-12-24 Thread 王连波
Hi all, I know that this question is more about ka-map rather than MapServer, however I have not got what I want from that mailing-list yet. So I want to get some suggestion here. I am really anxious about ka-map query and search now. In my mapfile I configured a layer as follows and it displayed

[mapserver-users] Query Error in getFeatureRequest on Oracle DB

2009-12-18 Thread Stefan Schantz
Hello, I have a layer that gets its data from an Oracle database. The layer can be visualized without any problems. As soon as I send a getFeatureRequest, the following error message appears msOracleSpatialLayerGetItems (): Query error. Can not retrieve column list In the UMN log file are 2

[mapserver-users] query template item tag question

2009-11-17 Thread Jennifer Shanks
Hello everyone, I'm using a query template to return results of a getfeatureinfo request. One of the attributes is a URL and I would like to format it with an anchor tag if a value exists, and display nothing if a value does not exist. So far I've tried: [item name=park_url format=Park

Re: [mapserver-users] query template item tag question

2009-11-17 Thread Steve Lime
Escape=html, I believe, will escape HTML entities into readable text (preventing cross-site scripting) so I think what you're seeing is correct. If you don't want escaping try escape=none instead. Steve On 11/17/2009 at 1:48 PM, in message 675141.34479...@web83405.mail.sp1.yahoo.com, Jennifer

AW: [mapserver-users] Query feature using openlayers and mapserver

2009-11-03 Thread Arnd Wippermann
-Ursprüngliche Nachricht- Von: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] Im Auftrag von Aypes Gesendet: Dienstag, 3. November 2009 02:50 An: mapserver-users@lists.osgeo.org Betreff: Re: [mapserver-users] Query feature using openlayers and mapserver I have

Re: AW: [mapserver-users] Query feature using openlayers and mapserver

2009-11-03 Thread Aypes
Arnd Wippermann wrote: Hi, Look for the visibility of your querylayer and decide what to do map.events.register('click', map, function (e) { var flag=map.getLayersBy(name, querylayer)[0].visibility; if(flag) { var url = http://localhost/cgi-bin/mapserv.exe;

Re: [mapserver-users] Query feature using openlayers and mapserver

2009-11-02 Thread Aypes
I have solved the problem. There is the function code in my html: map.events.register('click', map, function (e) { var url = http://localhost/cgi-bin/mapserv.exe; + ?map=map/file/directory.map + REQUEST=GetFeatureInfo + VERSION=1.1.1 +

[mapserver-users] Query feature using openlayers and mapserver

2009-10-29 Thread Aypes
Dear all, I might open a topic in a wrong forum, because I do not know whether I should ask this question in Mapserver or OpenLayers forum. If I did, I feel sorry about that. I want to query the layer with using openlayers. However, I do not know how to 'call' the templates from mapfile to

Re: [mapserver-users] Query feature using openlayers and mapserver

2009-10-29 Thread P Kishor
On Thu, Oct 29, 2009 at 1:13 AM, Aypes apest...@yahoo.com.hk wrote: Dear all, I might open a topic in a wrong forum, because I do not know whether I should ask this question in Mapserver or OpenLayers forum. If I did, I feel sorry about that. I want to query the layer with using

Re: [mapserver-users] Query feature using openlayers and mapserver

2009-10-29 Thread Aypes
P Kishor wrote: On Thu, Oct 29, 2009 at 1:13 AM, Aypes apest...@yahoo.com.hk wrote: Here is how I did it, and it worked for me (test for typing errors) Step 1: In the map file Step 1a: WEB WEB ,, # WMS server settings METADATA ..

[mapserver-users] query mode, multiple selections

2009-09-01 Thread Chris Kantarjiev
I'm just starting to play with query mode and find it very useful. I have an interaction style in mind that would let me select and highlight several (possibly connected) links in a layer in a fairly interactive style (more like one would do with ArcGIS, I guess). I'm pretty sure that I won't

Re: [mapserver-users] query mode, multiple selections

2009-09-01 Thread Steve Lime
You'd be surprised with what you can do with the CGI backend. It's certainly possible, with the right web client (e.g. something like GeoMoose or OpenLayers) to craft queries against the CGI to select one or many features from one or many layers using a point, box or arbitrary geometry. Perhaps

Re: [mapserver-users] query mode, multiple selections

2009-09-01 Thread Chris Kantarjiev
Sure. The basic use case is: User navigates to a particular, known, lat/lon as starting point; this can be by entering the known lat/lon values, or by navigation around cities. User then selects one or more links and can inspect attributes associated with those links - in particular, link_id

Re: [mapserver-users] query mode, multiple selections

2009-09-01 Thread Mike Saunt
Hi We use the back end CGI extensively and it is extremely fast. It is simply a case of being able to define what type of constraint you want against each layer (tolerance etc) - I'm normally surprised if mapserver takes more than a second or two to query up to 20-30 individual layers... Hope

[mapserver-users] Query Unique Values in Mapfile?

2009-04-06 Thread Stefan Schwarzer
Hi there, is it possible to make mapserver directly detect the unique values in a field of the dbf table? I have twenty or more point and polygon shapefiles, each having a column with specific thematic data, such as the protected area category. But the content of these columns is

Re: [mapserver-users] Query Unique Values in Mapfile?

2009-04-06 Thread Tamas Szekeres
I'm not aware of any support for this in MapServer, however by using MapScript you could create script to iterate the features and add new classes to a layer on each unique combination. Then you could save the mapfile for further editing if required. Best regards, Tamas 2009/4/6 Stefan

[mapserver-users] query error message

2009-02-11 Thread Greg Luker
Hi mapserver-users, When I do a browser View/Source on a page that contains the results of a MapServer query, the following line is included: br!--Error message buffer is empty.-- The browser View/Source just shows the html code behind the web page that is currently displayed. What Error

Re: [mapserver-users] Query result attribute sums / totals

2009-01-09 Thread Richard Greenwood
On Fri, Jan 9, 2009 at 12:51 AM, Ben Madin b...@remoteinformation.com.au wrote: G'day all, I have a straightforward query setup on a line layer showing movements between locations over a selected time period. When I select query mode, the data is returned beautifully (well, it's nice to

Re: [mapserver-users] Query result attribute sums / totals

2009-01-09 Thread Ben Madin
G'day Richard, On 09/01/2009, at 10:30 PM, Richard Greenwood wrote: On Fri, Jan 9, 2009 at 12:51 AM, Ben Madin b...@remoteinformation.com.au wrote: However it would be really really great if the total Number over this time could be calculated as a total, and put in the footer row. You

[mapserver-users] Query result attribute sums / totals

2009-01-08 Thread Ben Madin
G'day all, I have a straightforward query setup on a line layer showing movements between locations over a selected time period. When I select query mode, the data is returned beautifully (well, it's nice to see it!) # Date Species Number Purpose Origin Destination

[mapserver-users] query template won't execute php

2008-11-26 Thread Jim.Haug
I haven't been able to find anything on this, so I'm hoping someone will have a suggestion or more information. I'd hoped to have a template call a php file rather than an html file on a query. It does bring up the file. Any regular html in the file loads okay, and javascript will run all right,

Re: [MAPSERVER-USERS] Query length with mapscript.

2008-10-17 Thread BrainDrain
I'd recommend you use queryByIndex with bAddToQuery=true to avoid this error I don't like 'in ()' operator at all)) Paul Moen-3 wrote: Is there a maximum length of the query text when setting a filter with php mapscript? For example, I use $tempLayer-setfilter('contract_id IN

[MAPSERVER-USERS] Query using template and WFS errorred on POSTGIS

2008-10-16 Thread G. Tiemens
Hello List, I want to try to get certain features-attribute information back from my postgis database via Mapserver. I tried this in 2 ways: Enabeling WFS in the mapfile and making a query layer. Both requests generate errors on the Postgis Database and i can't discover what is going wrong.

Re: [MAPSERVER-USERS] Query using template and WFS errorred on POSTGIS

2008-10-16 Thread Tellett
Hi Gerben, not sure if this is the reason why but I noticed that under the layer block you set Data as ' DATA 'the_geom FROM pr2007' ', I think you need a USING UNIQUE clause in there to specify which column in the table can act as a unique identifier and maybe an srid clause as well to

RE: [MAPSERVER-USERS] Query using template and WFS errorred on POSTGIS

2008-10-16 Thread Tiemens, Gerben
-Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Tellett Verzonden: Thursday, October 16, 2008 4:00 PM Aan: mapserver-users@lists.osgeo.org Onderwerp: Re: [MAPSERVER-USERS] Query using template and WFS errorred on POSTGIS Hi Gerben, not sure if this is the reason why but I

[mapserver-users] query case insensitive

2008-09-24 Thread Sven Schroeter
Hi all, I'm using the queryByAttributes-function of PHP-Mapscript with the LIKE (~) operator for strings (out of a POSTGIS-table): $queryString = nom_bande ~ 'WT'; $queryItem = nom_bande; @$datQuery = $layer-queryByAttributes($queryitem,$queryString,MS_MULTIPLE); Every dataset that contains

Re: [mapserver-users] query case insensitive

2008-09-24 Thread Steve Lime
Use the *~ operator as described at: http://www.postgresql.org/docs/8.3/static/functions-matching.html Steve Sven Schroeter [EMAIL PROTECTED] 09/24/08 5:12 AM Hi all, I'm using the queryByAttributes-function of PHP-Mapscript with the LIKE (~) operator for strings (out of a POSTGIS-table):

[mapserver-users] Query all layers with blank qlayer?

2008-07-21 Thread Emerson, Gabe
Hi everyone, I'm running into trouble when I try to use ItemQuery and ItemNQuery with a blank qlayer. Does the 5.0 release still support querying all layers in this way? If not, what's the current method? I haven't been able to find anything aside from Bill Kropla's text and the online list of

RE: [mapserver-users] query in url

2008-07-03 Thread Kevin Edmundson
-users] query in url There are always many ways. If you don't have any spatial information in the 3rd party application then you have a couple of options: 1) do an attribute query with a URL template (explained below) 2) pass the parcel id to your MapServer application and use it to do an ajax

[mapserver-users] query in url

2008-07-02 Thread Kevin Edmundson
I have a mapserver site that contains, among others, a parcel layer. I have a 3rd party application that manages parcel data for a customer and I would like to...from the third party application...send a url request to the mapserver that would cause it to open, and zoom to a particular

[mapserver-users] query data raster

2008-04-22 Thread pablo zader
Hello friends, I am working with MApServer 5, want to do query on layers raster and have the following problem: on a layers raster once chosen the tool of query gives the following thing to the clickear: MsQueryByPoint (): Search returned not results. Not matching record (s) found. The layer