[mapserver-users] mapserver not showing symbols

2009-10-29 Thread sunny74
Dear Friends, I have created a map file using QGIS and after that the symbols had to be changed once.So I imported the symbols into QGIS and created a fresh map file. But now again the symbols need to be changed and I followed the above process. But this time although symbols r getting imported

[mapserver-users] What is the error?

2009-10-29 Thread joel ml
the code is java, version de mapserver 5.2import librerias.Xutil;import edu.umn.gis.mapscript.MS_SHAPE_TYPE;import edu.umn.gis.mapscript.lineObj;import edu.umn.gis.mapscript.mapscriptConstants;import edu.umn.gis.mapscr

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 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 > .. > "wms

Re: [mapserver-users] OSM data rendering using Mapserver

2009-10-29 Thread Stephen Woodbridge
Ali_ wrote: Hi Stephen, Thanks for your response. I am grateful to you. Cygwin worked. I am getting this error loadLabel(): Unknown identifier. Parsing error near (MAXSCALEDENOM):(line 48) Is that something to do with the Mapserver versions? Yes this sounds like you are on a very old version

Re: [mapserver-users] OSM data rendering using Mapserver

2009-10-29 Thread Ali_
Hi Stephen, Thanks for your response. I am grateful to you. Cygwin worked. I am getting this error loadLabel(): Unknown identifier. Parsing error near (MAXSCALEDENOM):(line 48) Is that something to do with the Mapserver versions? Ali. Stephen Woodbridge wrote: > > Ali_ wrote: >> Hi, >> I am

Re: [mapserver-users] Help with NQuery error (CGI)

2009-10-29 Thread Steve Lime
Do you have a querymap object configured with status on? I would guess so in order to see that error. What happens if you set STATUS OFF in the querymap? >>> On 10/29/2009 at 7:57 AM, in message <33fad6880910290557m71ee3fdatd470590e3256f...@mail.gmail.com>, Paul james wrote: > Hello guys... > Ím

Re: [mapserver-users] Help with NQuery error (CGI) using MSSQL2008

2009-10-29 Thread Paul james
It´s not the case... I´m using Layers on URL and the output is in template.html... I executed the same test using POSTGIS connection, and It worked fine ,,, I got my template filled up as result... Is there any difference using nquery with MSSQL2008 or maybe is a bug ? Thanks Paul On Thu, Oct 2

Re: [mapserver-users] Help with NQuery error (CGI)

2009-10-29 Thread Bob Basques
I'm no expert on this one, but . . . If you do an NQUERY Mapserver needs to know which layer you plan on querying, either by name, explicitly through the call (layer=??) or by having the mapfile give them up by default (STATUS=default ??), either way, mapserver need to know somehow what to apply

Re: [mapserver-users] Use of palette file: Problems with changingcolors when tiling

2009-10-29 Thread Espen Isaksen
Yes, we know, but we just tried to bypass the problem by fooling Mapserver. And that did not work :-) That was just a test, which might show that Mapserver is filling in some Mapserver defined color in the waterlayer when it shouldn't. Espen 2009/10/29 Stephen Woodbridge : > The correct usage of

Re: [mapserver-users] Use of palette file: Problems with changingcolors when tiling

2009-10-29 Thread Stephen Woodbridge
The correct usage of the palette file is to NOT fill it up with 256 colors. What you want to do it get all the colors that you explicitly reference in the mapfile and place them in the palette file. then mapserver will initiate you file with these colors. Then when you antialias something mapse

Re: [mapserver-users] OSM data rendering using Mapserver

2009-10-29 Thread Stephen Woodbridge
Ali_ wrote: Hi, I am new to MapServer and wanted to render OSM data through that. I followed the tutorial http://trac.osgeo.org/mapserver/wiki/RenderingOsmData but unfortunately I am unable to run it at the final stage. I am on the last step where I use 'make' command to compile osm.map file as

Re: [mapserver-users] Use of palette file: Problems with changingcolors when tiling

2009-10-29 Thread Espen Isaksen
No, that color is not present in the mapfile or in the palette.txt file. We use the color 108 189 243 on lakes. This is happening on other features(with other colors) for us as well. I did test to fill up the palette file with the same colors more than one time in order to get 256 colers in the f

[mapserver-users] Help with NQuery error (CGI)

2009-10-29 Thread Paul james
Hello guys... I´m got this error when trying to execute a Nquery : http://localhost/cgi-bin-54/mapserv.exe?map=Map.map&mode=nquery&LAYERS=TEST&mapext=-58.358076171875+-11.42570625+-57.193525390625+-10.37101875&imgext=-58.358076171875+-11.42570625+-57.193525390625+-10.37101875&map_size=1221+762&imgx

Re: [mapserver-users] OSM data rendering using Mapserver

2009-10-29 Thread Ali_
Thanks Rahkonen, I'll see what's wrong with this makefile then. It's still giving me command syntax error in line 7, 9 and 12 of makefile downloaded from http://code.google.com/p/mapserver-utils/source/browse/trunk/ Ali. Rahkonen Jukka wrote: > > > Hi > > Ali_ wrote: > >> 2) The osm_line

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 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 openlayers. However, I d

Re: [mapserver-users] OSM data rendering using Mapserver

2009-10-29 Thread Rahkonen Jukka
Hi Ali_ wrote: > 2) The osm_line and osm_road table have not been assigned the > primary key while conversion using osm2pgsql and where we > query in the map file we use USING UNIQUE osm_id which may be > incompatible and may be make is unable to give the result. At least the osm2pgsql vers

[mapserver-users] OSM data rendering using Mapserver

2009-10-29 Thread Ali_
Hi, I am new to MapServer and wanted to render OSM data through that. I followed the tutorial http://trac.osgeo.org/mapserver/wiki/RenderingOsmData but unfortunately I am unable to run it at the final stage. I am on the last step where I use 'make' command to compile osm.map file as an output but