[mapserver-users] GPS to GIS

2008-08-07 Thread Peter Falk
Hi David, Yes I know i was a bit vague. What I need is a simple function, that can turn a point in GPS - a lattitude and a logitude value - into a point in GIS. I.e. I got these coordinate: GPS: N: 54.9809 E: 8.86707 that applies to GIS: X: 491055.41Y: 6092507.928 What I

Re: [mapserver-users] How do i define my SLD inside the mapfile?

2008-08-07 Thread bartvde
No you can't use an SLD directly in a WMS server MAP file. What I normally do is apply the SLD to the MAP file using a simple PHP script: #!/bin/sh sudo -u apache php -f $0 $*; exit $? ?php if ($argc != 4) { echo Usage: applysldurl.php input MAP file SLD url output MAP file\n; echo \n;

Re: [mapserver-users] GPS to GIS

2008-08-07 Thread Benoît Andrieu
Hi Peter, What do you mean with 'GIS' coordinates ? For me, GIS means Geographic Information System and is a very common term. Looking at your 'GIS' coordinates I would say that your GIS coordinate system is a UTM 32 coordinate system. And in your case, you could use cs2cs

AW: [mapserver-users] How do i define my SLD inside the mapfile?

2008-08-07 Thread Albrecht.Weiser
Hi Bart, what a luck that there's a workaround. Unluckily i'm not a php crack :o/ Could you please tell in a few catchwords how to apply the script? Thanks Albrecht -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 7. August 2008 09:52

Re: [mapserver-users] GPS to GIS

2008-08-07 Thread Peter Falk
Hi Guys, Thanks for your input. It's been a great help. The fact that I'm now aware of the translation - from WGS84 to UTM Zone 32 - has narrowed the problem down. Peter Benoît Andrieu skrev: Hi Peter, What do you mean with 'GIS' coordinates ? For me, GIS means Geographic Information

Re: [MAPSERVER-USERS] drawing a north arrow on a map

2008-08-07 Thread Ritesh Ambastha
Use the proper symbol name as: Layer style ---symbol 'symbol_name' end end regards, Ritesh fastturtle wrote: Dear list, I'm hoping someone can help me. Following the instructions in the wiki, I am trying to add a north arrow to a map. I've got a basic north arrow image

[mapserver-users] Reg: QueryMap(Zoom To Shape) with Mapserver PostgreSql/PostGIS

2008-08-07 Thread Venkat Rao Tammineni
Dear All, I am getting error with query map.But it is working fine for Shape files.Only I am getting error with Postgresql/PostGIS.I do not know where I am doing wrong. Here is my Map File Code :- Name Continents CONNECTIONTYPE POSTGIS CONNECTION host=192.168.1.158 dbname=GIS

RE : [mapserver-users] drawing a north arrow on a map

2008-08-07 Thread Léveillé , James
John, the symbol name doesn't match __ 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ébec) G2K 1K7

Re: [mapserver-users] Arabic-Farsi-Hebrew support?

2008-08-07 Thread Daniel Morissette
Saka Royban wrote: Thanks stephen for your kind help. I'm thinking on a solution of using mapscript. i don't know whether it is true or not. using mapscript, getting the label positions from it and then compling labels in programming language,finally giving the result as an image to mapscript

Re: [mapserver-users] Arabic-Farsi-Hebrew support?

2008-08-07 Thread Jeff McKenna
Daniel Morissette wrote: Why not just let MapServer handle everything? If the issue is simply that the MS4W package doesn't have fribidi2 included in it yet, then please ask for it on the MS4W mailing list and that option should be added in the next MS4W release. The associated ticket

[mapserver-users] ogrinfo failure.

2008-08-07 Thread Νίκος Παπαδάκης
Hi list. I have a problem running ogrinfo.exe. When i press enter i get the following message: This application has failed to start because gdal15.dll was not found.Re-installing the application may fix this problem. Well,i re-installed ms4w but the problem remains. Does anyone know where the

Re: [mapserver-users] ogrinfo failure.

2008-08-07 Thread Bart van den Eijnden (OSGIS)
Open up a dos prompt and first run ms4w\setenv.bat, after that you can use ogrinfo. Best regards, Bart Νίκος Παπαδάκης wrote: Hi list. I have a problem running ogrinfo.exe. When i press enter i get the following message: This application has failed to start because gdal15.dll was not

[mapserver-users] PostGreSQL8.2/PostGIS SQL Error

2008-08-07 Thread Kenne, Bryon K.
Does anybody know why the following select query returns this error? - ERROR: Operation on two geometries with different SRIDs SQL state: XX000 SELECT * FROM sdghaz WHERE the_geom'BOX3D(-117.052660 32.854340, -117.052664 32.854353)'::box3d AND distance(the_geom, GeomFromText('POINT(-117.052662