Re: [MAPSERVER-USERS] Problems calculating MAXSCALES

2008-08-13 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)

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

2008-08-13 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.

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

2008-08-13 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

Re: [mapserver-users] Tiled image handling error

2008-08-13 Thread George A. Dubin
On Wed, 13 Aug 2008 09:54:19 +0300, Rahkonen Jukka [EMAIL PROTECTED] wrote: TYPE RASTER - ofcourse, this helped! Thanks a lot I feel myself really stupid now =)) ... Hi, A few suggestions: TYPE LINE Should probably be TYPE RASTER STATUS OFF STATUS DEFAULT or STATUS

Re: [MAPSERVER-USERS] Problems calculating MAXSCALES

2008-08-13 Thread Rob
OK, I hesitate to say it, but this looks like a bug to me. But I'm still convinced that it must be something I have done wrong as this seems too fundamental to have slipped through the net without anybody else noticing it. I have created a test case, and can reproduce on an MS4W installation on

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

2008-08-13 Thread Yewondwossen Assefa
It is included in the latest ms4w 2.2.8. (for details: http://bugzilla.maptools.org/show_bug.cgi?id=1914) Rohalah Delpak wrote: 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] problem: mapserv produces truncated image

2008-08-13 Thread BrainDrain
I have a correct map file map extent set to some value tuple when I request map tiles (256x256) I use urls like this

Re: [MAPSERVER-USERS] Problems calculating MAXSCALES

2008-08-13 Thread Tamas Szekeres
You can refer to the msCalculateScale in mapscale.c to see how the scaledenom is calculated by mapserver: center_y = (extent.miny+extent.maxy)/2.0; md = (width-1)/(resolution*msInchesPerUnit(units, center_y)); /* remember, we use a pixel-center to pixel-center extent, hence the width-1 */

Re: [MAPSERVER-USERS] Problems calculating MAXSCALES

2008-08-13 Thread Tamas Szekeres
2008/8/13 Rob [EMAIL PROTECTED]: If I change the (width-1) to be width, then I get scale figures that correspond to what I would expect, and what the ESRI GIS Clients hitting my WMS service seems to think that the scale should be. From the dates in TRAC it certainly looks like this was

RE: [mapserver-users] Memoryproblem

2008-08-13 Thread Hallgren, Johan
Hello I have MapServer 5.2.0 and I have built the bin by myself. I use Windows Server 2003 standard edition. I also have tried to turn off all layers in the file and I have also removed all layes from the mapfile and still there is the same problem. Here is the file:

Fwd: [MAPSERVER-USERS] Problems calculating MAXSCALES

2008-08-13 Thread Rob
Sorry - didnt reply to whole list -- Forwarded message -- From: Rob [EMAIL PROTECTED] Date: 2008/8/13 Subject: Re: [MAPSERVER-USERS] Problems calculating MAXSCALES To: Tamas Szekeres [EMAIL PROTECTED] I was unable to reopen the ticket with comments - TICKET_APPEND privileges

[mapserver-users] WFS server error. Incomplete WFS request: SERVICE parameter missing

2008-08-13 Thread Derek Bain
Hi I need some help to clear the following problem When I try to download my map i get the following error [Wed Aug 13 15:40:35 2008].156000 msWFSDispatch(): WFS server error. Incomplete WFS request: SERVICE parameter missing [Wed Aug 13 15:40:35 2008].156000 mapserv request processing time

Re: [mapserver-users] Re WFS server error. Incomplete WFS request:SERVICE parameter missing

2008-08-13 Thread Rahkonen Jukka
What happens if you remove the first here: http://localhost:8082/cgi-bin/mapserv.exe?SERVICE=wms -http://localhost:8082/cgi-bin/mapserv.exe?SERVICE=wms -Jukka- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: Derek Bain Lähetetty: ke 13.8.2008 18:37 Vastaanottaja:

Re: [MAPSERVER-USERS] Problems calculating MAXSCALES

2008-08-13 Thread Steve Lime
It's likely the desktop product you're using uses a different pixel model than MapServer's center-to-center model. The code in 4.8.3 was incorrect so I'm not sure what we can do. A WMS extent simply isn't equal to a MapServer extent. The MapServer WMS and WCS code account for the difference

[mapserver-users] Vector layers through mapserver

2008-08-13 Thread Robert Hicks
Hello all, I am trying to create a vector layer against a shapefile of TYPE POINT, and I want an icon to appear over the point then it is drawn on the map, like how Google draws a push pin over a point. Is this possible, and/or does anyone have experience doing it?

Re: [MAPSERVER-USERS] Problems calculating MAXSCALES

2008-08-13 Thread Tamas Szekeres
You'll have to create an OSGEO user ID and login before editing the ticket: https://www.osgeo.org/cgi-bin/ldap_create_user.py Best regards, Tamas 2008/8/13 Rob [EMAIL PROTECTED]: Sorry - didnt reply to whole list -- Forwarded message -- From: Rob [EMAIL PROTECTED] Date:

Re: [MAPSERVER-USERS] Problems calculating MAXSCALES

2008-08-13 Thread Steve Lime
I've not tweaked anything since that ticket was closed. My take on this thread is that: 1) With the same extent 4.8.3 and 5.x output different scale computations. This is true. There were inconsistencies in what an extent meant to MapServer in older versions. That was standardized in 5.0. 2)

Re: [mapserver-users] Vector layers through mapserver

2008-08-13 Thread Tamas Szekeres
Robert, You'll probably have to use a pixmap symbol that refers to the image file to be displayed. For more information see: http://mapserver.gis.umn.edu/docs/reference/symbology/referencemanual-all-pages Best regards, Tamas 2008/8/13 Robert Hicks [EMAIL PROTECTED]: Hello all, I am trying