Re: [mapserver-users] QGIS vs Mapserver someone use wrong scale ?

2013-02-14 Thread Martin Kofahl
Hi Andrea, the inaccuracy may rest upon the resolution defined in your mapfile. By default, MapServer uses RESOLUTION 72, I think. This is not quite correct for OGC WMS, because this standard assumes a pixelsize of 0.28 x 0.28 mm² which is ~90.7 dpi. Not sure if you can set floating point

[mapserver-users] mapcache: How can I configure an attributionlayer with mapcache?

2013-02-14 Thread Ariane Brörmann
Is there a possibility to add an attributionlayer (copyright) with mapcache? If yes, how can I configure this? Ariane ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] mapcache: How can I configure an other name for rootlayer in getcapabilities document?

2013-02-14 Thread Ariane Brörmann
I use mapcache for caching my own WMS-service. I called my layer mylayer, but the GetCapabilities document contains rootlayer all time. I would already like to have the name of my layer mylayer instead of rootlayer. Is it configurable? Or missed I something? Ariane ?xml version=1.0

Re: [mapserver-users] mapcache: How can I configure an attributionlayer with mapcache?

2013-02-14 Thread Martin Kofahl
Hi Ariane, you may configure to add a watermark (from png file, etc) in the tileset section. See http://mapserver.org/en/mapcache/config.html. !-- watermark optional tag to add a watermark to the tiles *before* storing them to cache the supplied image MUST be exactly the same size as

[mapserver-users] OGR SQL select Query to extract decimal part

2013-02-14 Thread csdave4u
I am using MapServer version 6.0.3 (MS4W 3.0.6) and my target to display decimal number as per attached png. http://osgeo-org.1560.n6.nabble.com/file/n5034263/decimal.png My Solution - Map file with two layers - First Layer to display Integer Part i.e. 12 and Second Layer to display decimal part

Re: [mapserver-users] mapserver 6.2.0 perl mapscript

2013-02-14 Thread Andy Colson
On 2/14/2013 8:09 AM, Umberto Nicoletti wrote: It's in the 6.2 branch, please review it: https://github.com/mapserver/mapserver/commit/a4ac07d8da7d81f42090890a7e359bdc1f277dbf Umberto Mmm.. No, that didnt seem to work. andy@mapper:/pub/apps/mapserver$ git branch * branch-6-2 master

[mapserver-users] line issue in mapserver 6

2013-02-14 Thread Murat Beyhan
Dear All, I have installed mapserver 6.0.1 on ubuntu 12.10 and I tried to draw map which is including some line and polygon layers. By the way I have been using mapserver 5.4.2 for a long time. Same map file which is working to draw map using mapserver 5.4.2 working well under mandriva 2010.

[mapserver-users] posting variable to map file from html page

2013-02-14 Thread Murat Beyhan
Dear Friend After installing mapserver 6.0.1 I have faced a problem that I could not post string variable into the map file. It was working well for mapserver 5.4.2 but it doesn't work for new version from html file I have sending eq_id to the map file and in layer I use the following

Re: [mapserver-users] mapserver 6.2.0 perl mapscript

2013-02-14 Thread Umberto Nicoletti
make clean fixed it for me Umberto On Thu, Feb 14, 2013 at 3:48 PM, Andy Colson a...@squeakycode.net wrote: On 2/14/2013 8:09 AM, Umberto Nicoletti wrote: It's in the 6.2 branch, please review it: https://github.com/mapserver/**mapserver/commit/**

Re: [mapserver-users] mapserver 6.2.0 perl mapscript

2013-02-14 Thread Andy Colson
Ok, got it. inside mapscript/perl, make clean didnt remove mapscript_wrap.c. I manually removed it, then make clean'ed everywhere. Then started over, and it compiled clean. On to testing... -Andy On 2/14/2013 9:19 AM, Umberto Nicoletti wrote: make clean fixed it for me Umberto

Re: [mapserver-users] posting variable to map file from html page

2013-02-14 Thread Fawcett, David (MNIT)
Murat, Starting at 6.0, you need to add a validation block to your layer. With validation, you include an expression that defines which characters are allowed to be passed in that variable. http://mapserver.org/cgi/runsub.html David. From: mapserver-users-boun...@lists.osgeo.org

Re: [mapserver-users] posting variable to map file from html page

2013-02-14 Thread Stephen Woodbridge
On 2/14/2013 10:11 AM, Murat Beyhan wrote: Dear Friend After installing mapserver 6.0.1 I have faced a problem that I could not post string variable into the map file. It was working well for mapserver 5.4.2 but it doesn't work for new version from html file I have sending eq_id to the map file

Re: [mapserver-users] mapserver 6.2.0 perl mapscript

2013-02-14 Thread Andy Colson
It works! My package build script ran as-is, the libs link ok, and my maps serve correctly from apache. Thank you much. -Andy On 2/14/2013 9:43 AM, Andy Colson wrote: Ok, got it. inside mapscript/perl, make clean didnt remove mapscript_wrap.c. I manually removed it, then make clean'ed

[mapserver-users] Photo Viewer

2013-02-14 Thread Weisbender, Eric
I would like to use MapServer as just an unreferenced image viewer for jpgs so I can zoom in and out on the image. Everything I read says that images have to be georeferenced. Any idea or even examples would be greatly appreciated. Thanks, Eric Weisbender

Re: [mapserver-users] Photo Viewer

2013-02-14 Thread Basques, Bob (CI-StPaul)
Eric, Interesting idea. I remember a thread a few years back about something similar being asked. As far as the geo-referencing part, you can simply use the size of the image as your reference coordinate system for each image. Mapserver is more generally suit towards combining different

Re: [mapserver-users] Photo Viewer

2013-02-14 Thread Lime, Steve D (MNIT)
I would think it could be done, your extent would be given in pixels. Full extent is given as 0 0 width-1 height-1. Depends if the raster code respects the layer TRANSFORM parameter. Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf

Re: [mapserver-users] Photo Viewer

2013-02-14 Thread Basques, Bob (CI-StPaul)
Ok, I sort of got something to work . . . http://gis.ci.stpaul.mn.us/datasets/SHP/SAINT_PAUL/PUBLIC_WORKS/TEST/image_pixel_coord_public.map http://gis.ci.stpaul.mn.us/datasets/SHP/SAINT_PAUL/PUBLIC_WORKS/TEST/image_pixel_coord_public.map?mapext=750+600+1100+925 Danged if I can figure out how to

Re: [mapserver-users] Photo Viewer

2013-02-14 Thread Lime, Steve D (MNIT)
Could try ANGLE 90 at the map level? From: Basques, Bob (CI-StPaul) Sent: Thursday, February 14, 2013 4:17 PM To: Lime, Steve D (MNIT); Weisbender, Eric; mapserver-users@lists.osgeo.org Subject: RE: Photo Viewer Ok, I sort of got something to work . . .

[mapserver-users] java - mapscript, using hibernate-jpa2

2013-02-14 Thread Ahmet Temiz
Hello I would like to know your view. In java - mapscript, using hibernate-jpa2 is a good choice ? If you have any experiences in this respect, could you share your experiences ? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Planlama ve Zarar Azaltma Dairesi