Re: [mapserver-users] Using space in layer's name?

2008-08-19 Thread Rahkonen Jukka
Hi, Are you using WMS?In the document "WMS servers with MapServer" http://mapserver.gis.umn.edu/docs/howto/wms_server reads: # Layer Name and wms_title metadata: Every individual layer needs its own unique name and title. Layer names are also used in GetMap and GetFeatureInfo requests to refer to

[mapserver-users] Using space in layer's name?

2008-08-19 Thread [EMAIL PROTECTED]
I'm using MapServer 5.0.2. I have two layers: the first is named "jaringan ipal dan iplt" (layer name contains space character), while the second is named "jaringan_telepon" (does not contain space). I am using the [layers] parameter to dynamically pass my layers to another template for printi

Re: [mapserver-users] Corrupt image output

2008-08-19 Thread Mike Leahy
Ok, I'll file a ticket shortly...but I have a few more things I've tried that might add insight to this. It seems if I load the map via cgi mapserver, I get the same problems - so this isn't limited to mapscript. In contrast, I don't seem to have any trouble with the output values if I extrac

Re: [mapserver-users] Corrupt image output

2008-08-19 Thread Tamas Szekeres
Mike, It's quite difficult to find out what's going on. You should file a ticket including the example and sample data. Probably the problem may be reproduced in other machines as well. Best regards, Tamas 2008/8/19 Mike Leahy <[EMAIL PROTECTED]>: > Tamas, > > I just gave this a try a few tim

Re: [mapserver-users] Corrupt image output

2008-08-19 Thread Mike Leahy
Tamas, I just gave this a try a few times - deleted the cache, and loaded one tile. It seems to happen less frequently, but I still have about a 1 in 3 chance of getting various rectangle artifacts on the image. It basically looks like something forgets to draw one or more of the rgb colour

Re: [mapserver-users] Projection problem with EPSG 28992

2008-08-19 Thread Frank Warmerdam
Wim Blanken wrote: Hello list, I was trying to build mapserver 5.2 on Hostgis (slackware). I downloaded proj.4 version 4.6.0 and build mapserver against it. I believe it has a problem with the dutch projection (28992). Every other projection works ok but if I use 28992 mapserver complai

[mapserver-users] Projection problem with EPSG 28992

2008-08-19 Thread Wim Blanken
Hello list, I was trying to build mapserver 5.2 on Hostgis (slackware). I downloaded proj.4 version 4.6.0 and build mapserver against it. I believe it has a problem with the dutch projection (28992). Every other projection works ok but if I use 28992 mapserver complains about an unknown pro

RE: [MAPSERVER-USERS] epsg code for 'UTM 43 North'

2008-08-19 Thread Kralidis,Tom [Burlington]
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Ritesh Ambastha > Sent: 19 August, 2008 12:58 PM > To: mapserver-users@lists.osgeo.org > Subject: [MAPSERVER-USERS] epsg code for 'UTM 43 North' > > > How can I calculate exact EPSG code for the

Re: [MAPSERVER-USERS] epsg code for 'UTM 43 North'

2008-08-19 Thread Gregor Mosheh
Ritesh Ambastha wrote: How can I calculate exact EPSG code for the date projected in 'UTM 43 North' The UTM codes, the ones I've used anyway, all start with 267 or 269, then the zone. 267 for NAD27 and 269 for WGS84/NAD83 So I would suspect yours to be 26743 or 26943 You'd want to check PRO

[MAPSERVER-USERS] epsg code for 'UTM 43 North'

2008-08-19 Thread Ritesh Ambastha
How can I calculate exact EPSG code for the date projected in 'UTM 43 North' ? I just got few clues from this link : http://spatialreference.org/ref/epsg/?search=UTM&srtext=Search Thanks, Ritesh Ambastha -- View this message in context: http://www.nabble.com/epsg-code-for-%27UTM-43-North%27-t

Re: Res: [mapserver-users] Change a class name by url

2008-08-19 Thread Steve Lime
If you can recompile MapServer then all you need to do is edit maplexer.l. Go down to the line: name and change it to: name and that should do it. Steve >>> On 8/19/2008 at 11:09 AM, in message <[EMAIL PROTECTED]>, Jefferson Bauer <[EMAIL PROTECTED]> wrote: > Thaks for your reply > Jeff.

Re: [mapserver-users] Layer and tranform

2008-08-19 Thread Steve Lime
And this worked in a previous version of MapServer? Looks to me like an error with the format but then again I'm not a netcdf user at all. Others may have more ideas. Steve >>> On 8/19/2008 at 10:13 AM, in message <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: > Dear Steve, > the attach is what

Res: [mapserver-users] Change a class name by url

2008-08-19 Thread Jefferson Bauer
Hi Steve I receive now your answer just after send another one to Jeff. I've used the CGI reference manual and your RFC 31 to try a solution but didn't realize that's not possible. Thanks for the answer and i'll be waiting for this new RFC! Jefferson Bauer - Mensagem original De: Steve

Res: [mapserver-users] Change a class name by url

2008-08-19 Thread Jefferson Bauer
Thaks for your reply Jeff. I've used the migration guide to change the way i modify variables by URL, like setting templates in WEB or LEGEND, adding POINTS in a FEATURE, etc. With that, my application works fine. But in some cases i need to modify the name of a class adding a number or a new tex

RE: [MAPSERVER-USERS] fseek dbf error while importing shapefile inpostgres

2008-08-19 Thread Fawcett, David
You might try the PostGIS list for this PostGIS question... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ritesh Ambastha Sent: Tuesday, August 19, 2008 10:05 AM To: mapserver-users@lists.osgeo.org Subject: Re: [MAPSERVER-USERS] fseek dbf error while imp

Re: [MAPSERVER-USERS] fseek dbf error while importing shapefile in postgres

2008-08-19 Thread Ritesh Ambastha
Dear Gregor, Thanks for the quick support ! I checked the number of rows in the populated table in postgres against the DBF. Both are equal. I am unable to check the source of error. Regards, RItesh Ambastha Gregor Mosheh-3 wrote: > > Ritesh Ambastha wrote: >> fseek(-1035313584) failed on D

Re: [MAPSERVER-USERS] fseek dbf error while importing shapefile in postgres

2008-08-19 Thread Gregor Mosheh
Ritesh Ambastha wrote: fseek(-1035313584) failed on DBF file. What can be the problem? What should be checked in the DBF for these kind of errors? Are you positive that the DBF was uploaded correctly? The first thing I would suspect is that I FTPd it in ASCII mode, or only got half of the fil

[MAPSERVER-USERS] fseek dbf error while importing shapefile in postgres

2008-08-19 Thread Ritesh Ambastha
I tried to import shapefiles into postgres by using this command: shp2pgsql shapefile_name table_name > sqlfile.sql I got chunks of errors like : fseek(-1035313584) failed on DBF file. fseek(-1035313584) failed on DBF file. fseek(-1035313584) failed on DBF file. fseek(-1035313584) failed on DBF

Re: [mapserver-users] Fractional line widths?

2008-08-19 Thread Dane Springmeyer
Fantastic, thanks for the feedback everyone. Dane On Aug 19, 2008, at 5:39 AM, Steve Lime wrote: We've talked about this as part of a package of graphics-related enhancements. Look for it in 5.4 soon. Steve "Tamas Szekeres" <[EMAIL PROTECTED]> 08/18/08 7:06 PM >>> Dane, I think it woul

Re: [mapserver-users] Corrupt image output

2008-08-19 Thread Tamas Szekeres
Mike, Did you experience the same problem when calling tile.php directly when rendering an individual tile? Best regards, Tamas 2008/8/19 Mike Leahy <[EMAIL PROTECTED]>: > Hello list, > > I'm wondering if anyone can help me figure out a problem I'm having with > corrupted output from from a ti

Re: [mapserver-users] Instead of having an embedded class/style/label statement could a map file instead reference a .sld file?

2008-08-19 Thread bartvde
No I don't think there is a ticket already. Assefa did prepare an RFC once IIRC, but this never made it to mapserver-dev as the project fell through unfortunately. Best regards, Bart > Is there a ticket for this? If not there should be. > > Steve > On 8/19/2008 at 3:09 AM, in message > <[EM

Re: [mapserver-users] loadWeb(): General error message.URL-basedTEMPLATE...

2008-08-19 Thread Steve Lime
When changing a template via a URL the value is compared against a regex stored in TEMPLATEPATTERN. If the value validates then the template is changed. Is this the stock MapServer demo or have you altered it? Steve >>> On 8/15/2008 at 11:44 PM, in message <[EMAIL PROTECTED]>, LMonge <[EMAIL PROT

[mapserver-users] Re: msGetLabelSize(): TrueType Font error.Requested font (sans) not found.

2008-08-19 Thread Steve Lime
Font references are stored in a fontset, a simple text file. You need to reference that in your map object and can look at it's contents to determine what's available. Steve >>> On 8/18/2008 at 4:24 PM, in message <[EMAIL PROTECTED]>, "John Mitchell" <[EMAIL PROTECTED]> wrote: > Sorry for the ex

Re: [mapserver-users] Instead of having an embedded class/style/label statement could a map file instead reference a .sld file?

2008-08-19 Thread Steve Lime
Is there a ticket for this? If not there should be. Steve >>> On 8/19/2008 at 3:09 AM, in message <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: > No, this is not yet possible. It will need some funding to get done most > likely. > > Best regards, > Bart > >> Hi, >> >> Instead of having an emb

Re: [mapserver-users] How to display vector symbols (direction andmagnitude) in MapServer?

2008-08-19 Thread Steve Lime
Or a way to alter the interpretation of angles, e.g. ANGLEMODE or something like that... Steve >>> On 8/19/2008 at 3:06 AM, in message <[EMAIL PROTECTED]>, Havard Tveite <[EMAIL PROTECTED]> wrote: > I don't think ANGLE can be used in your case (if you do not > use scripting to calculate the ANGLE

Re: [mapserver-users] Layer and tranform

2008-08-19 Thread Steve Lime
Monica: Some examples of what "overturned" means would be helpful. Perhaps before and after image samples? Steve >>> On 8/19/2008 at 4:53 AM, in message <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]> wrote: > Dear All, > I've update the current version of mapserver with the new 5.2.0. > When I put the

Re: [mapserver-users] Fractional line widths?

2008-08-19 Thread Steve Lime
We've talked about this as part of a package of graphics-related enhancements. Look for it in 5.4 soon. Steve >>> "Tamas Szekeres" <[EMAIL PROTECTED]> 08/18/08 7:06 PM >>> Dane, I think it would be implemented by means of replacing the int-s with doubles at the style and the symbol definitions

Re: [mapserver-users] Change a class name by url

2008-08-19 Thread Steve Lime
Manipulation of parameters that don't go through some validation as part of parsing (e.g. most strings) is not supported in 5.0 and 5.2. The exceptions are data and template IF datapattern and templatepattern are set. I've realized this change is probably too limiting and intended to remedy for

[mapserver-users] DNC's

2008-08-19 Thread Derek Bain
Hi I am trying to get the color for each symbol/layer within a DNC. Using ogrinfo I can get the f_code for each layer however I cannot find the symbol number stored anywhere. Using document MIL-DTL-89045 I can get a table of symbol number mapped to color. However I need, if possible, to find a

RE: [mapserver-users] adhoc requests to the end of the WMS requestwithin mapserver map file

2008-08-19 Thread Kralidis,Tom [Burlington]
John: you could add the extra keyword-value pairs to the CONNECTION object, i.e.: CONNECTION "http://localhost:8080/geoserver/wms?filter=fieldname=fieldvalue"; Hope this helps ..Tom -Original Message- From: [EMAIL PROTECTED] on behalf of John Mitchell Sent: Mon 18-Aug-08 19:10 To

[mapserver-users] Re: Corrupt image output

2008-08-19 Thread Mike Leahy
Hello again, Just to follow-up on this, this problem isn't limited to just image rendering. I also get odd results from raster queries in php mapscript - about half the time, I'll get appropriate rgb values, but as you can see in this example (http://img411.imageshack.us/my.php?image=corrupt

[mapserver-users] Corrupt image output

2008-08-19 Thread Mike Leahy
Hello list, I'm wondering if anyone can help me figure out a problem I'm having with corrupted output from from a tiled geotiff dataset I'm using in a ka-Map environment. You can see what's happening to the imagery here: http://img527.imageshack.us/my.php?image=corrupthd1.png This generally

Re: [mapserver-users] build mapserver 5.2.0 with proj 4.6.0

2008-08-19 Thread Jacolin Yves
Arg, I built again proj4 and I successfully run the masperver configure script :) Y. Le Tuesday 19 August 2008 11:44:00 Guillaume Sueur, vous avez écrit : > what is surprising is that I have here an Ubuntu box with proj 4.6.0 > package and a mapserver 5.2.0 compiled on it without any problem. > >

[mapserver-users] Re: Instead of having an embedded class/style/label statement...

2008-08-19 Thread Albrecht.Weiser
Hi John, i was asking nearly the same question some weeks ago. Unfortunately there seems to be no way. In the near future the inspire guideline has to be implemented and it demands standards like SLD. We will also have the governmental specification to implement the standards configuration-side an

[mapserver-users] Layer and tranform

2008-08-19 Thread monicarob
Dear All, I've update the current version of mapserver with the new 5.2.0. When I put the layer in the map, I see the image "overturned". Any suggestions? Thanks, Monica ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo

Re: [mapserver-users] build mapserver 5.2.0 with proj 4.6.0

2008-08-19 Thread Guillaume Sueur
what is surprising is that I have here an Ubuntu box with proj 4.6.0 package and a mapserver 5.2.0 compiled on it without any problem. Jacolin Yves a écrit : > Hi Guillaume, > > This is a fresh system install from a "virtual private server" under OpenVZ, > I > tried to remove all packetage wi

Re: [mapserver-users] build mapserver 5.2.0 with proj 4.6.0

2008-08-19 Thread Jacolin Yves
Hi Guillaume, This is a fresh system install from a "virtual private server" under OpenVZ, I tried to remove all packetage with apt-get remove, and nothing is removed ;) Furthermore I setup the option --with-proj which link to /usr/local/lib where libproj is installed (by myself). I built all

Re: [mapserver-users] build mapserver 5.2.0 with proj 4.6.0

2008-08-19 Thread Guillaume Sueur
make sure you don't have any pre-installed Proj lib which would get linked during the ./configure Jacolin Yves a écrit : > Hello, > > I am trying to build mapserver 5.2.0 with proj-4.6.0. The ./configure script > tells me : "configure: error: This version of PROJ is too old. PROJ4.4.2 or > la

[mapserver-users] build mapserver 5.2.0 with proj 4.6.0

2008-08-19 Thread Jacolin Yves
Hello, I am trying to build mapserver 5.2.0 with proj-4.6.0. The ./configure script tells me : "configure: error: This version of PROJ is too old. PROJ4.4.2 or later is required." , here is the configure comande line: ./configure --with-postgis --with-wmsclient --with-wfsclie

Re: [mapserver-users] How to display vector symbols (direction and magnitude) in MapServer?

2008-08-19 Thread Havard Tveite
I don't think ANGLE can be used in your case (if you do not use scripting to calculate the ANGLEs yourself for each generated map). Is there a need for a new TAG - for instance with the name "ORIENTATION", that could be used to specify compass directions (0=north, 90=east, 180=south, 270=west) fo

Re: [mapserver-users] Instead of having an embedded class/style/label statement could a map file instead reference a .sld file?

2008-08-19 Thread bartvde
No, this is not yet possible. It will need some funding to get done most likely. Best regards, Bart > Hi, > > Instead of having an embedded class/style/label statement like listed > below > could a map file instead reference a .sld file? > > Thanks, > > John > > CLASS > STYLE > CO

[mapserver-users] Instead of having an embedded class/style/label statement could a map file instead reference a .sld file?

2008-08-19 Thread John Mitchell
Hi, Instead of having an embedded class/style/label statement like listed below could a map file instead reference a .sld file? Thanks, John CLASS STYLE COLOR 255 0 0 WIDTH 2 END LABEL COLOR 150 150 150 OUTLINECOLOR 255 255 255 FONT a