Re: [mapserver-users] Tiled image handling error

2008-08-12 Thread Rahkonen Jukka
Hi, A few suggestions: > TYPE LINE Should probably be TYPE RASTER > STATUS OFF STATUS DEFAULT or STATUS ON might be better alternatives If those changes will not help and you only have one tiff file to be displayed on layer "navi" then you can simplify map file a bit by leaving out

[mapserver-users] MS4W package doesn't have fribidi2 included in it yet

2008-08-12 Thread Rohalah Delpak
Hi MS4W package doesn't have fribidi2 included in it yet. how can i solve this issue?   i use MS4W 5.2 , that its not show Arabic labels correctly.   ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/

[mapserver-users] Tiled image handling error

2008-08-12 Thread George A. Dubin
Hi all! I'm having a problem with tiled tiff when mapserver is working as WMS. While trying to display "navi" layer is produces an error: msDrawMap(): Image handling error. Failed to draw layer named navi;. msSHPOpenFile(): Unable to access file. (/var/www/map/shapes/navi.tif) msSHPOpenFile():

Re: [MAPSERVER-USERS] problem with map.zoomToExtent

2008-08-12 Thread BrainDrain
OpenLayers works perfectly if it configured correctly. first of all you need to setup base OpenLayers layer (map server layer in your case as I understand). Note: OL uses some default values for map obj: DD units and EPSG:4326 proj (wgs84 LL) ... etc. You need to spec. your own. spatialreference.o

RE: [mapserver-users] Memoryproblem

2008-08-12 Thread Hallgren, Johan
Hello Tamas I'm glad that you supports me here:) We are getting closer to the problem:) Your code (getbytes.exe) runs fine on my own pc, but when I move the code to the server the problem starts. I made a new project with your cs-file and named it getbytemap, but it's actually the same code a

Re: [MAPSERVER-USERS] Problems calculating MAXSCALES

2008-08-12 Thread BrainDrain
For calculating MIN/MAXSCALEDENOM I use openlayers ria js lib (automatic zoom levels, supports map server layers), which is part of my web project. I have the same question as you - howto to get current scale value with mapscript. You can dig js code (openlayers: Map.js (getScale function) FixedZo

Re: [MAPSERVER-USERS] Memoryproblem

2008-08-12 Thread BrainDrain
I use mapscript c# in my project running in ms win 2003 std/ent r2 and iis6 all works perfect, but some problem related with writing png's exists in .net (v 2/3.5) imageObj imgRaw=null; imgRaw = map.draw(); //this works (without changing image format) using (MemoryStream ms = new MemoryStream(img

[mapserver-users] Converting pixel position to geographic co-ordinates

2008-08-12 Thread ramya srinivasan
Hi, What is the function used to convert pixel position to geographic co-ordinates in php/mapscript? ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

[MAPSERVER-USERS] ms4w bug: mapserv returns empty(blank) image

2008-08-12 Thread BrainDrain
I have this input projection for my layers "+proj=tmerc +lat_0=0 +lon_0=45 +k=1.00 +x_0=0 +y_0=0 +ellps=krass +towgs84=23.92,-141.27,-80.9,0,0,0,0 +units=mm +no_defs" (local coordsys) and this is output proj "+proj=tmerc +lat_0=0 +lon_0=45 +k=1.00 +x_0=0 +y_0=0 +ellps=krass +towgs84=23.92,

[mapserver-users] Hacking PROJ4...

2008-08-12 Thread Yvan Calcagni
Thanks David, but I tried this and it didn't work. Nevertheless I found a way to solve my problem. I'm pretty sure this solution isn't very clean but it works. So, I replaced the EPSG:27582 lon_0 parameter (previously set to 0) with this one : +lon_0=2.33722917 and I don't know why but it worke

Re: [mapserver-users] Connection to Mysql 5.0

2008-08-12 Thread Νίκος Παπαδάκης
O/H Fawcett, David έγραψε: Nikos, Is it possible that MapServer is using a different ogr binary than the one that you are hitting from the command line. This is really a question for the MS4W people and not you, I guess. One possible reason that you are having this problem would be if MapS

RE: [mapserver-users] Connection to Mysql 5.0

2008-08-12 Thread Fawcett, David
Nikos, Is it possible that MapServer is using a different ogr binary than the one that you are hitting from the command line. This is really a question for the MS4W people and not you, I guess. One possible reason that you are having this problem would be if MapServer was compiled with a diff

[mapserver-users] Connection to Mysql 5.0

2008-08-12 Thread Νίκος Παπαδάκης
Hello to everyone! i have a problem in implementing the example i found in http://mapserver.gis.umn.edu/docs/howto/ogrmysql. I want to project some points on the map. I have created the .ovf file and the database i want to access with some appropriate data. I have also created a user and gran

Re: [mapserver-users] Memoryproblem

2008-08-12 Thread Tamas Szekeres
Johan, I haven't run into this problem yet. Do you able to run the getbytes console application in the /csharp directory? Is this issue deterministic or random? Do you have an example to reproduce it? Best regards, Tamas 2008/8/12 Hallgren, Johan <[EMAIL PROTECTED]>: > Hello > > > > I have a m

RE: [mapserver-users] Doubt

2008-08-12 Thread Carlos Ruiz
Ramya, Please check the FEATURE section within LAYER section. LAYER ... FEATURE POINTS x y END END ... END OR LAYER ... FEATURE WKT "POINT(2000 2500)"END ... END Greetings from México IC Carlos Ruiz  --- On Tue, 8/12/08, Venkat Rao Tammineni <[EMAIL PROTECTED]> wrote: From: Venkat Rao

[mapserver-users] 5.2 Problems

2008-08-12 Thread Derek Bain
Hi Jukka This is what i get back. I should be using WMS. I have defined WMS as the connectiontype in the map file. All worked okay on the previous version of ms4w. I also tried using shp2img on my map file and it returned saying that i need to define WEB.IMAGEPATH in my map file which i did not

Re: [mapserver-users] 5.2 Problems

2008-08-12 Thread Rahkonen Jukka
You ask for WMS and get back WFS error message, is this really your situation? -Jukka Rahkonen- Lähettäjä: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Puolesta Derek Bain Lähetetty: 12. elokuuta 2008 12:57 Vastaanottaja: mapserver-users

[mapserver-users] 5.2 Problems

2008-08-12 Thread Derek Bain
Hi I updated ms4w using the 2.2.8 installer. Now I get this error in ms_error.txt "msWFSDispatch(): WFS server error. Incomplete WFS request: SERVICE parameter missing". I added the service parameter and i still get the error. Here is my onlineresource "wms_onlineresource" "h

[mapserver-users] Memoryproblem

2008-08-12 Thread Hallgren, Johan
Hello I have a major problem when using imgMapObj.getBytes(). The memory will be corrupt. The problem doesn't occur when using the save function. I have not seen the problem on other servers so the problem seams to be related to a specific server (Windows Server 2003 standard edition). Error

RE: [mapserver-users] Doubt

2008-08-12 Thread Venkat Rao Tammineni
Hi, Please check this url. http://mapserver.gis.umn.edu/docs/reference/vector_data/VirtualSpatialData I hope it will help you. Thanks and Regards Venkat. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ramya srinivasan Sent: Tuesday, August 12, 2008 1:29 PM To

Re: [mapserver-users] ShpTree

2008-08-12 Thread Jochen Topf
On Mon, Aug 11, 2008 at 02:35:41PM -0600, Gregor Mosheh wrote: > Note that for Mapserver (rather, OGR) to USE the qix file, you must not > specify the .shp extension in your DATA statement. If you do, the qix > will simply be skipped. e.g. >DATA "data/streets/streets.shp" > should be: >

[mapserver-users] Doubt

2008-08-12 Thread ramya srinivasan
Hi, i will have to display point in a map given its co-ordinates.The co-ordinates has to be given manually.What do i have to do for that? ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-us