Re: [mapserver-users] MapServer tutorial for C# asp.net

2009-12-10 Thread Paolo Corti
cs.tropic wrote: I'm wondering if anyone has files from this tutorial of Paolo Corti : http://www.paolocorti.net/2006/07/01/mapscript-c-tutorial-programming-mapserver-in-the-asp-net-framework/ now it has been fixed best regards Paolo -- View this message in context:

Re: [mapserver-users] Dynamically update layers without service interruption

2009-12-10 Thread Dan Little
Yes, it's a matter of how you do your data management. Generally, if you're using MapServer in CGI mode you can update the data, or the mapfile, and the next time a request comes in, it will see the updated version of your image. - Original Message From: Björn Harrtell

Re: [mapserver-users] Dynamically update layers without service interruption

2009-12-10 Thread Stephen Woodbridge
The key to this is to minimize the time that the data and mapfile are potententially out of sync or the time a file might be being updated so that it is in a state of flux that might cause an error if a request tries to read the file while it is being updated. I have managed this in the past

[mapserver-users] Spatial Joins for labels

2009-12-10 Thread Mark Volz
Hi, I was just wondering if it is possible to spatially join layers on the fly for labeling purposes. For example it would be useful to be able to have a label: TEXT [NAME] [ADDRESS] [Watershed.WatershedName] [Municipality.MunicipalityName] I am guessing something like this might be possible

[mapserver-users] Expression Syntax

2009-12-10 Thread Jay Kapalczynski
I looked on map server website in the documentation and cant get the synstax correct I have two textboxes idOwner and idOwner2 I am a bit confused on the FILTERITEM because I am trying to write the expression to include two fields. USE1_DESC and BLOCK are the two fields that form the query

Re: [mapserver-users] Expression Syntax

2009-12-10 Thread Emiliano Castañeda
Jay, you must use FILTERITEM only for simple FILTER expressions (string comparison only) for example: FILTER 2005 -fieldvalue FILTERITEM year -fieldname For Logical FILTER expressions you do not define FILTERITEM. In this case you must place the FILTER between parentheses, and fieldnames between

RE: [mapserver-users] Expression Syntax

2009-12-10 Thread Jay Kapalczynski
Emiliano thanks for the responseyea I looked at the documentation and it was a bit fuzzy to me... If I do them individually it works: #FILTERITEM 'USE1_DESC' #FILTER /.*%idOwnerQueryDESC%.*/i #FILTERITEM 'BLOCK' #FILTER

Re: [mapserver-users] Expression Syntax

2009-12-10 Thread Dan Little
You might want to check out the code for query.php in the GM2 branch. From: Jay Kapalczynski jkapalczyn...@ci.maple-grove.mn.us To: Emiliano Castañeda emilianocastan...@suremptec.com.ar Cc: mapserver-users@lists.osgeo.org mapserver-users@lists.osgeo.org Sent: Thu, December 10, 2009 3:20:58 PM

RE: [mapserver-users] Expression Syntax

2009-12-10 Thread Fawcett, David (MPCA)
At a minimum, I think that you will need to add quotes around the query columns. (just use single quotes, not the fancy Microsofty ones below...) FILTER ('[USE1_DESC]'=%idOwnerQueryDESC% AND '[BLOCK]'=%idOwnerQueryBLOCK%) Try setting a filter with static values from your data to get the filter

[mapserver-users] make error - version 5.6.0-rc1 - /usr/bin/ld: cannot find -lxslt

2009-12-10 Thread Ted Spradley
Hi everybody! Building 5.6.0-rc1 on Linux 2.6.23.15-80.fc7 make exits with the error below after trying to compile shp2img with the message: /usr/bin/ld: cannot find -lxslt What is xslt that ld is looking for? Thanks in advance, Ted S. gcc -c -O2 -fPIC -Wall -DHAVE_VSNPRINTF

RE: [mapserver-users] Expression Syntax

2009-12-10 Thread Jay Kapalczynski
Thanks all for your thoughts Got it...I had to add ' ' around the textbox id as well when referencing the textbox id names Notice( '%idOwnerQueryDESC%' and '%idOwnerQueryBLOCK%' ) FILTER ('[USE1_DESC]'='%idOwnerQueryDESC%' AND '[BLOCK]'='%idOwnerQueryBLOCK%') Dan thanks for your

RE: [mapserver-users] Expression Syntax

2009-12-10 Thread Jay Kapalczynski
Last thought Now that this is working: FILTER ('[USE1_DESC]'='%idOwnerQueryDESC%' AND '[BLOCK]'='%idOwnerQueryBLOCK%') I am trying to get them to be wild cards...this worked individually: BUT does not work in the full string. FILTER /.*%idOwnerQueryDESC%.*/i Not Working: FILTER

Re: [mapserver-users] make error - version 5.6.0-rc1 - /usr/bin/ld: cannot find -lxslt

2009-12-10 Thread Stephen Woodbridge
Sounds like a new library dependency that needs to be documented. yum search libxslt yum install libxslt-devel or something like that. -Steve W Ted Spradley wrote: Hi everybody! Building 5.6.0-rc1 on Linux 2.6.23.15-80.fc7 make exits with the error below after trying to compile shp2img

Re: [mapserver-users] make error - version 5.6.0-rc1 - /usr/bin/ld: cannot find -lxslt

2009-12-10 Thread Ted Spradley
Thanks Steve. Got it. Make error again, this time: /usr/bin/ld: cannot find -lpam So, did yum search libpam Excluding Packages from Fedora 7 - i386 Finished Excluding Packages from Fedora 7 - i386 - Updates Finished psa-libpam-plesk.i586 : PAM module to authorize via Plesk Users Database I

Re: [mapserver-users] make error - version 5.6.0-rc1 - /usr/bin/ld: cannot find -lxslt

2009-12-10 Thread Stephen Woodbridge
http://www.google.com/#hl=ensource=hpq=fedora+7+libpam -Steve Ted Spradley wrote: Thanks Steve. Got it. Make error again, this time: /usr/bin/ld: cannot find -lpam So, did yum search libpam Excluding Packages from Fedora 7 - i386 Finished Excluding Packages from Fedora 7 - i386 -