Re: [mapserver-users] [Scalebar] Wrong values

2008-07-10 Thread Fabian Rami
Fabian Rami a écrit : Hi everyone, I have a mistake with the scalebar. When i use the demo with my mapfile i have meters for europe level , centimeters for country level and kilometers for street level. I still a beginner with MapServer so if you see something wrong please tell me :) I use

[mapserver-users] ShapeObj-values in python mapscript

2008-07-10 Thread Guillaume Sueur
Hi list, I'd like to access to the values of a ShapeObj in python mapscript but it seems that the values array is not accessible in python. I'm using mapscript 5.0.2 Any hint ? Thanks -- Guillaume ___ mapserver-users mailing list

[mapserver-users] different attribute values of subfeatures and its visualization

2008-07-10 Thread Lars Lingner
Hello list, I have a bunch of spatial data in my PostgreSQL/PostGIS-DB. They are polyline features. Each polyline has some global attributes, which means the attributes are describing the whole line. Length is such an attribute but also the overall diameter could be one. To make it more visual,

Re: [mapserver-users] ShapeObj-values in python mapscript

2008-07-10 Thread Guillaume Sueur
sure, I've noticed that. But how can I retrieve the fields names ? Thx Umberto Nicoletti a écrit : Use getValue(index) instead. Umberto On Thu, Jul 10, 2008 at 11:56 AM, Guillaume Sueur [EMAIL PROTECTED] wrote: Hi list, I'd like to access to the values of a ShapeObj in python mapscript but

Re: [mapserver-users] did something change in reading in empty TAB files?

2008-07-10 Thread Daniel Morissette
Bart, The Invalid Block Type message comes from the MITAB driver in GDAL/OGR. GDAL 1.3.2 is quite old, is there any way you could switch to a more recent version of GDAL? Based on Jeff's tests this error doesn't seem to happen with MS 5.0.2/GDAL 1.5.0 ... it may also be that the problem is a

[mapserver-users] Problem with Mapserver GRASS vector data

2008-07-10 Thread John Overton
Hello, Finally got Mapserver to build and am checking out the connection to GRASS. The gdal connection to display raster data works fine, but when I try to display a vector file from GRASS I get this: **

[MAPSERVER-USERS] Odd behaviour with openlayers: think Map file error

2008-07-10 Thread Andrew de klerk
Hi all I am not sure how to explain this, but i will try my best. I have a mapfile that works perfectly from openlayers through calling Layer.WMS. I then modified the layer file to include a point shapefile. If I then call the mapfile like:

Re: [mapserver-users] Flash (swf) - Link between buttons and Element?

2008-07-10 Thread Yewondwossen Assefa
Marie-Eve, One possible was of quickly achieving this is would be for the buttons names to reflect the layer and shape they are associated with; so for example a button name would look like button_layerid_shapeid (ex button_2_44 would represent the element 44 on layer 2). I have filed a

Re: [mapserver-users] Rotating map makes layer disappear

2008-07-10 Thread Matthias Buchs
Hello Flavio, Thank you for your answer! I had already a projection defined for all layers. However, I tried yours too, but with the same result: All layers are drawn correctly (incl. rotation) except the single one, which is not drawn. The layer definition looks as follows: LAYER NAME

Re: [mapserver-users] ShapeObj-values in python mapscript

2008-07-10 Thread Steve Lime
There's a getItem(index) method at the layer level. Steve On 7/10/2008 at 7:37 AM, in message [EMAIL PROTECTED], Guillaume Sueur [EMAIL PROTECTED] wrote: sure, I've noticed that. But how can I retrieve the fields names ? Thx Umberto Nicoletti a écrit : Use getValue(index) instead.

[mapserver-users] msencrypt mapserver 5.0.0

2008-07-10 Thread Paul Alarcon
Hello friends i want ot work with msencrypt in mapserver 5.0 im using pmapper as framework. I look the example in mapsever documentation but it dont work for my. There is another method to use msencrypt on mapserver 5.0.0 Thanks _

RE: [mapserver-users] Rotating map makes layer disappear

2008-07-10 Thread Fawcett, David
Mathias, I see that you set a MAXSCALE of 2000. If you are zoomed out beyond 2000, the layer will not draw. Try commenting it out to see if this is the issue. If so, then set a scale value that works for your purposes. Also, if you are not explicitly calling the layer by name when MapServer

[mapserver-users] Mapscript tcl

2008-07-10 Thread Harm Olthof
Hello List, Where can I find a pre-build mapscript for Windows XP,Mapserver 5.x and Tcl 8.5.x? Thanks, Harm ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

RE: [mapserver-users] MapServer + Fusion

2008-07-10 Thread Nolte, Tim
Finally got around to trying out Fusion + UMN MapServer. Went with the tutorial below and the latest Fusion 1.0.6. I first tried using my current working MapServer mapfile/environment. That was failing with not loading any tool icons or map, just blue white boxes. In IE7 I get 'maps is null or

[mapserver-users] java mapscript - couldn't manage queryByPoint

2008-07-10 Thread orkun
hello I couldn't manage queryByPoint function in java mapscript here is the code I have tried : double tolerance = map1.getWidth()/100; //we use this tolerance if (jeolayer.queryByPoint(map1, pt1, mapscript.MS_SINGLE ,tolerance )== 1) { resultCacheObj qresult =

Re: [mapserver-users] MapServer + Fusion

2008-07-10 Thread Alan Boudreault
Hi Tim Is your fusion webpage can be accessed via the web ? In this way, i should take a look to see what's wrong. Thanks, Alan Nolte, Tim wrote: Finally got around to trying out Fusion + UMN MapServer. Went with the tutorial below and the latest Fusion 1.0.6. I first tried using my

[mapserver-users] WMS raster display, getfeatureinfo from vector layer

2008-07-10 Thread percy
I discussed this issue with Tom K. on the IRC yesterday, and he thought it was of general interest and should be posted and potentially requested as a feature. Scenario: we have a Geologic map that has super complex cartography that we don't want to reproduce in the mapfile (600+ classes,

RE: [mapserver-users] MapServer + Fusion

2008-07-10 Thread Nolte, Tim
So, I found under fusion-templates-mapserver-standard sample files for me to try. I was able to get the gmap demo data working and even my own current Production MapServer .map file. There are a lot of strange issues that make it seem as thought I'm going to need to make a new .map file that is

[mapserver-users] Reprojection: Maps not lining up

2008-07-10 Thread Matthew Pettis
(This is a repost, the other one got no responses). Hi, I am using Openlayers with Mapserver to show a shapefile of roads in MN that are in epsg:26915 and allowing users to toggle between that and Google Maps (spherical Mercator projection per

Re: [mapserver-users] Reprojection: Maps not lining up

2008-07-10 Thread Steve Lime
I'd cc the OpenLayers list too since I think more folks with the Google projection hang out there... Steve On 7/10/2008 at 4:35 PM, in message [EMAIL PROTECTED], Matthew Pettis [EMAIL PROTECTED] wrote: (This is a repost, the other one got no responses). Hi, I am using Openlayers with

Re: [mapserver-users] WMS raster display,getfeatureinfo from vector layer

2008-07-10 Thread Steve Lime
What about using GROUPs or layers with the same name where the second layer is TYPE QUERY? Steve On 7/10/2008 at 2:14 PM, in message [EMAIL PROTECTED], percy [EMAIL PROTECTED] wrote: I discussed this issue with Tom K. on the IRC yesterday, and he thought it was of general interest and should

Re: [mapserver-users] New limitations with mapserver 5 CGI

2008-07-10 Thread Steve Lime
Hi Graeme: Comments inline... I definitely underestimated the impacts of those changes. Anyway... On 7/9/2008 at 11:23 PM, in message [EMAIL PROTECTED], Graeme Watmuff [EMAIL PROTECTED] wrote: It has become apparent through some frustrating moments of trial and error that many of the mapfile

Re: [mapserver-users] New limitations with mapserver 5 CGI

2008-07-10 Thread Stephen Woodbridge
Steve L, There was some discussion about using metadata regex's to validate changes via the URL. Did this not go into play? I thought we were going to do something like: 1) default it is restricted or disabled 2) if metadata validate_some_parameter some_regex then allow those changes that

Re: [mapserver-users] New limitations with mapserver 5 CGI

2008-07-10 Thread Steve Lime
That didn't get put in place, there were implementation issues at the time and I haven't revisited. For example, we use metadata to store validation patterns you can't very well allow URL modification of metadata then. You can I guess but at risk. Plus it's not really practical to write patterns

Re: [mapserver-users] WMS raster display,getfeatureinfo from vector layer

2008-07-10 Thread percy
thanks, nice idea. I tried it, and that did not work... relevant mapfile section: LAYER NAME Geologic_Map_Of_North_America TYPE RASTER STATUS ON data /vol/www/ngmdb/htdocs/GMNA_INDEX_tiled.tif maxscale 1000 MINSCALE 50 Metadata WMS_TITLE

Re: [MAPSERVER-USERS] new release of ms4w. When?

2008-07-10 Thread Jeff McKenna
On 10-Jul-08, at 1:49 AM, BrainDrain wrote: Just waiting for new release of ms4w (upon mapserver 5.2 release). Is there any plans? (I need new mapscript c# most of all) -- The best way to follow MS4W releases and announcements is to subscribe to the MS4W mailing list:

Re: [mapserver-users] New limitations with mapserver 5 CGI

2008-07-10 Thread Graeme Watmuff
Hi Steve, Thanks for replying and thanks for the coding pointers. You are right about the mapserv 4.10 tileindex syntax. Like filter, it is simply ignored by v5 rather than throwing an error. My apologies. Would it make sense to create a 'secure' version for the paranoid and a another version

Re: [mapserver-users] New limitations with mapserver 5 CGI

2008-07-10 Thread Paul Ramsey
I'd like to see backwards feature compatibility available, and I think the CGI override controller is one of the most powerful (under-appreciated) features of Mapserver. Since the control of what is over-rideable is in the lexer though, we're sort of in a narrow box. We could do a compile-time

Re: [mapserver-users] New limitations with mapserver 5 CGI

2008-07-10 Thread Stephen Woodbridge
Paul Ramsey wrote: I'd like to see backwards feature compatibility available, and I think the CGI override controller is one of the most powerful (under-appreciated) features of Mapserver. Since the control of what is over-rideable is in the lexer though, we're sort of in a narrow box. We could