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

2008-10-16 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

RE: [mapserver-users] LABEL FOLLOW STREETS

2008-10-16 Thread Wim Blanken
Hi Ritesh, Here an example that is working for me... LAYER NAME "Wegen" TYPE Line STATUS ON DATA "provincie\wegvak" LABELITEM

Re: [mapserver-users] LABEL FOLLOW STREETS

2008-10-16 Thread Ritesh Ambastha
ANGLE FOLLOW will suffice your requirement. - Ritesh Ambastha On Fri, Oct 17, 2008 at 10:55 AM, ntiamoah bernard <[EMAIL PROTECTED]>wrote: > Hi guys, > How do I make my streets label follow the orientation of the streets. I > mean i want some of the labels to be vertical, curve and horizontal. I

[mapserver-users] LABEL FOLLOW STREETS

2008-10-16 Thread ntiamoah bernard
Hi guys, How do I make my streets label follow the orientation of the streets. I mean i want some of the labels to be vertical, curve and horizontal. I set the "angle" to "auto" but nothing happened. thanks guys ___ mapserver-users mailing list

Re: [mapserver-users] examples of Web GIS interaction between citizensand governments?

2008-10-16 Thread M. Fioretti
On Thu, Oct 16, 2008 22:51:58 PM -0500, Steve Lime wrote: > We use web gis in a couple of situations to collect geographic information > that is used as part of a departmental business process: > > 1) Tagged fish reporting: http://www.dnr.state.mn.us/fisheries/tagged_fish_reporting/index.html >

Re: [mapserver-users] examples of Web GIS interaction between citizensand governments?

2008-10-16 Thread Steve Lime
We use web gis in a couple of situations to collect geographic information that is used as part of a departmental business process: 1) Tagged fish reporting. Staff created an application to capture the locations where tagged fish were caught. That information is used to generally locate the catch

[mapserver-users] Query length with mapscript.

2008-10-16 Thread Paul moen
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 (26,27,1093,608,596,134,111,36,37,4599,95,59,41,42,605,117,47,105,146,13 0,123,122,5017,98,66,67,68,69,133,71,131,74,75,76,77,148,94,81,82,108,97 ,

Re: [mapserver-users] AGG output with mapscript C# 5.2 problem...

2008-10-16 Thread Tamas Szekeres
Paul, Could you provide further information (sampe app, data, mapfile) to reproduce the problem? Best regards, Tamas 2008/10/16 Paul james <[EMAIL PROTECTED]>: > Hello guys... > I´m using lastest MS4W mapscript compilation (5.2) ... > > So, I tried to use AGG output like that: > MAP > ...

Re: [MAPSERVER-USERS] mssql2008 binary test package available to download

2008-10-16 Thread Tamas Szekeres
2008/10/16 BrainDrain <[EMAIL PROTECTED]>: > -without "WITH(INDEX..." in mapfile data section - mem corruption exception > on "shape = layer.getFeature(featureIndexe, -1)" after successful execution > of queryByPoint (querying the largest polygon in my geodb); I didn't encounter any memory corrupt

Re: [mapserver-users] WMS don't load

2008-10-16 Thread Daniel Morissette
[EMAIL PROTECTED] wrote: Here is the log [...] [Wed Oct 08 09:00:10 2008].667000 HTTP: request failed with curl error code 6 () for http://atlas.gc.ca/cgi-bin/atlaswms_fr?LAYERS=pe_15m&REQUEST=GetMap&SERVICE=WMS&FORMAT=image/gif&STYLES=&HEIGHT=300&VERSION=1.1.1&SRS=EPSG:42304&WIDTH=400&BBOX=6

Re: [mapserver-users] Map is OK with shp2img but blank with CGI

2008-10-16 Thread Rahkonen Jukka
Hi, It would be a great help if you could send the whole mapfile, otherwise we must be guessing. Still, here is my guess that is not related to mapfile but to where it is. Your mapfile is now in d: root directory. It may well be that Apache does not have a permission to use that. Move your map

Re: [mapserver-users] speed optimization with shptree - when is it wothwhile?

2008-10-16 Thread Gregor Mosheh
Mark Volz wrote: For example should I use ShpTree for shapefiles that have 100 features or wait until there are 1,000 features in the shapefiles? Not to sound simplistic, but it never HURTS to use it, so why not use it every time? Only takes a second, doesn't even increase the disk usage. --

[mapserver-users] speed optimization with shptree - when is it wothwhile?

2008-10-16 Thread Mark Volz
Hello, I am currently experimenting with the shptree utility. I notice that shptree increases the drawing performance on shapefiles that have thousands of features. However, I was wondering what the threshold number of features in a shapefile is before I should use the utility. For example s

[mapserver-users] AGG output with mapscript C# 5.2 problem...

2008-10-16 Thread Paul james
Hello guys... I´m using lastest MS4W mapscript compilation (5.2) ... So, I tried to use AGG output like that: MAP ... IMAGETYPE png ... OUTPUTFORMAT NAME 'AGG' DRIVER AGG/PNG IMAGEMODE "RGB" END I got I image, but in GD .. So I tried to modify the IMAGETYPE, like

RE: [mapserver-users] Drawing a line

2008-10-16 Thread Fawcett, David
If you just want to pass the feature in using a URL configuration, you wouldn't need to use mapscript. Just have the empty layer in your map file and then pass the feature definition in like: &map_layer[3]=FEATURE+POINTS+-67.012+-16.952+-67.012+-17.450+END+TEXT+'A+test+line'+

Re: [mapserver-users] Drawing a line

2008-10-16 Thread Roger André
Do you mean "given" as in "submitted via a web page"? In that case I think I would use Python mapscript to add a LAYER similar to the one I sent below, but using the form variables submitted from the web page as the POINTS values. Take a look at the chapter on Python Mapscript in the O'Reilley We

[mapserver-users] Spatial Query problem with ODBC layer

2008-10-16 Thread Emerson, Gabe
I recently switched one of my layers from a static shapefile to an ODBC SQL connection. The data points are correctly displayed on the map, but when I use the "query" or "nquery" modes, I get results that don't correspond at all to the clicked point. I tend to get the same set of points, in various

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

2008-10-16 Thread Tiemens, Gerben
Hello Thomas, Thanks for your answer, It was sure the right answer. I did try it with unique, but forgot the srid. It works now for both query and wfs. Strange that WMS and just type=map requests will work without these unique and srid statements. Thanks! Gerben Tiemens -Oorspronkeli

[mapserver-users] examples of Web GIS interaction between citizens and governments?

2008-10-16 Thread M. Fioretti
Greetings, Many state and local Public Administrations around the world use Open Source GIS software to present their geographic data through the Internet. Most of those websites, however, are one-way only. The end user can navigate through a digital map, zoom, unzoom, select layers and so on... b

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 sp

Re: RE : [mapserver-users] Symbol...

2008-10-16 Thread thomas bonfort
this should do it: SYMBOL NAME dash PATTERN 3 3 END TYPE SIMPLE END STYLE COLOR 0 0 0 WIDTH 1 END STYLE SYMBOL dash WIDTH 1 COLOR 0 0 0 OFFSET 3 -99 END -- thomas 2008/10/16 Paul james <[EMAIL PROTECTED]>: > Thanks, but It does not help me in that case... > > > 2008/10/16 Léveillé, James

RE : [mapserver-users] Symbol...

2008-10-16 Thread Léveillé , James
See http://mapserver.gis.umn.edu/docs/howto/cartosymbols __ JAMES LÉVEILLÉ Service des systèmes de Mission Direction des technologies de l'information Ministère des Transports du Québec 5833, boul. Pierre-Bertrand, 2ième étage Québec (Québe

Re: RE : [mapserver-users] Symbol...

2008-10-16 Thread Paul james
Thanks, but It does not help me in that case... 2008/10/16 Léveillé, James <[EMAIL PROTECTED]> > See http://mapserver.gis.umn.edu/docs/howto/cartosymbols > > > > __ > > *JAMES LÉVEILLÉ > *Service des systèmes de Mission > Direction des technol

[mapserver-users] Symbol...

2008-10-16 Thread Paul james
Hello guys... How can I do that symbol : ___ - - - - - - - - - - Thanks ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Map is OK with shp2img but blank with CGI

2008-10-16 Thread Benoît Andrieu
Hi, which version of mapserver are you using ? In the actual version, and as expected from the specifications, some parameters are mandatory such as : width, height srs styles version request But maybe I am wrong and the mode=map is doing something else.. Hope it helps !! Benoît Andrieu --

[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. Th

RE [mapserver-users] Map is OK with shp2img but blank with CGI

2008-10-16 Thread Steve . Toutant
Is it a WMS layer? Maybe your problem is similar as mine...and I didn't find a solution yet. Steve ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [MAPSERVER-USERS] mssql2008 binary test package available to download

2008-10-16 Thread BrainDrain
ok Now without mixing your package contens with older (ms4w_2.3.0 release) dll's: (I've attach my test database backup http://www.nabble.com/file/p20008430/geodb.zip geodb.zip ) -without "WITH(INDEX..." in mapfile data section - mem corruption exception on "shape = layer.getFeature(featureIndexe