[mapserver-users] MapCache - tiles stored with no transparency

2014-06-02 Thread Dejan Gambin
Hi, I just started playing with MapCache so this could be a pretty newbie question... I have a layer with transparency set, but my tiles, as I can see in filesystem, are stored with no transparency. When using mapcache wms demo, I get correct/transparent images but only after first getting

Re: [mapserver-users] MapCache - tiles stored with no transparency

2014-06-02 Thread Eichner, Andreas - SID
Since cache and source are basically unrelated it's probably a good idea to specify the request format in the source: source name=... type=wms getmap params VERSION1.1.1/VERSION FORMATimage/png/FORMAT LAYERSlayerA,layerB/LAYERS

Re: [mapserver-users] MapCache - tiles stored with no transparency

2014-06-02 Thread Dejan Gambin
This is already specified :-( Thx anyway On 2. lip. 2014., at 11:41, Eichner, Andreas - SID wrote: Since cache and source are basically unrelated it's probably a good idea to specify the request format in the source: source name=... type=wms getmap params

[mapserver-users] Σχετ: Σχετ: Mapserver can't read mapfile

2014-06-02 Thread Stefanos Anastasiou
Hi Steve, yes they are bot set. The whole mapfile looks like this. MAP NAME Dasarxeia UNITS DD SIZE 800 600 IMAGECOLOR 255 255 255 IMAGETYPE JPEG SHAPEPATH /home/mapdata/data/dasarxeia EXTENT 17.00 33.00 32.00 42.00 WEB    TEMPLATE /usr/local/apache2/htdocs/dasarxeia.html    IMAGEPATH

Re: [mapserver-users] Σχετ: Mapserver can't read mapfile

2014-06-02 Thread Jeff McKenna
Hi Stefanos, Some comments: - the best way to get the exact extent is to use the ogrinfo commandline utility with the -summary switch: ogrinfo dasarxeia.shp dasarxeia -summary - be careful with your SHAPEPATH, if your file is /home/mapdata/data/dasarxeia.shp then I would put for your

[mapserver-users] Σχετ: Σχετ: Mapserver can't read mapfile

2014-06-02 Thread Stefanos Anastasiou
Hi Jeff, thanks for your reply.  - I indeed used the ogrinfo utility and I gave me the extent in GCS_GGRS_1987. So I transformed the coordinates to WGS84.  - I also had my moved my data one folder up (that is also my Shapepath /home/mapdata/data/) just to make sure. -The output of shp2img -m

[mapserver-users] Σχετ: Σχετ: Σχετ: Mapserver can't read mapfile

2014-06-02 Thread Stefanos Anastasiou
Correction about the last one: I had a typo in the path when running the mapfile straight in the browser. The correct is  http://127.0.0.1/cgi-bin/mapserv?map=/home/stefanos/mapdata/dasarxeia.mapmode=map and it still appears a blank page.  -Stefanos Στις 6:57 μ.μ. Δευτέρα, 2 Ιουνίου 2014, ο/η

Re: [mapserver-users] Σχετ: Σχετ: Mapserver can't read mapfile

2014-06-02 Thread Jeff McKenna
On 2014-06-02, 12:56 PM, Stefanos Anastasiou wrote: Hi Jeff, thanks for your reply. - I indeed used the ogrinfo utility and I gave me the extent in GCS_GGRS_1987. So I transformed the coordinates to WGS84. I'm not sure what you mean here by I transformed the coordinates. Literally

[mapserver-users] Σχετ: Σχετ: Σχετ: Mapserver can't read mapfile

2014-06-02 Thread Stefanos Anastasiou
Wow... I literally copied and pasted the coordinates to the EXTENT parameter and it worked. Thank you very much..!!   :-)  I though that the mapfile would only read coordinates that are in Long/Lat format in WGS84. My coords were x,y format in Greek grid (EGSA '87 - EPSG 2100). So I thought I

Re: [mapserver-users] Σχετ: Σχετ: Σχετ: Mapserver can't read mapfile

2014-06-02 Thread Basques, Bob (CI-StPaul)
The Extent uses is based on the source data coordinates,, unless you also provide a reprojection block in your mapfile/maplayers. Bobb From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stefanos Anastasiou Sent: Monday, June 02, 2014

[mapserver-users] Σχετ: Σχετ: Σχετ: Σχετ: Mapserver can't read mapfile

2014-06-02 Thread Stefanos Anastasiou
Thanks Bobb One more thing... I noticed that if I enter the STATUS default it works fine.   But if I enter STATUS on the page is blank again.  Any idea why? -Stefanos Στις 8:26 μ.μ. Δευτέρα, 2 Ιουνίου 2014, ο/η Basques, Bob (CI-StPaul) bob.basq...@ci.stpaul.mn.us έγραψε: The Extent uses

Re: [mapserver-users] Σχετ: Σχετ: Σχετ: Σχετ: Mapserver can't read mapfile

2014-06-02 Thread Stephen Woodbridge
STATUS DEFAULT forces the layer to by on regardless. STATUS ON allows the laye to be turned on/off and in your request you need to supply a list of layers to tuen on by name. shp2img ... -l my_layer1 my_layer_1 or in CGI layers=all... layers=my_layer1+my_layer2... -Steve On 6/2/2014 4:10

[mapserver-users] Ubuntu 14.04 and Mapserver 6.4.1-2

2014-06-02 Thread Haug, Jim
I recently upgraded to Ubuntu 14.04 with no visible issues. The url below is generated in my web page code and is sent to the mapserver:

Re: [mapserver-users] Ubuntu 14.04 and Mapserver 6.4.1-2

2014-06-02 Thread Lime, Steve D (MNIT)
The difference is MapServer version, not Ubuntu. You *must* define a validation pattern (a regex) for qstring values. In either the web or layer block (depending on your app) you'd do something like: VALIDATION 'qstring' '^\/ESD-[0-9]*\/i$' END Depends on what sort of values you might see of

Re: [mapserver-users] What is the default coordinate system used in MapServer (if no projection is defined)?

2014-06-02 Thread Lime, Steve D (MNIT)
MapServer has no default, it's just uses a simple Cartesian coordinate system. HOWEVER, the CGI does have some hooks that tries to auto-detect lat/lon coordinates and automatically convert them to what's set in the MAP's projection block. I believe that only kicks in if there is a projection

Re: [mapserver-users] What is the default coordinate system used in MapServer (if no projection is defined)?

2014-06-02 Thread Basques, Bob (CI-StPaul)
I had an extent of 0 0 360 120 (units inches, 10ftx30ft) Anyway, I think I tried zooming in to 50 50 80 80 and the 80 values seem to have been the problem. I can send the actual link tomorrow if you want I have it in browser cache at the other desk. I set the Map projection to 4326 and it

[mapserver-users] Is there a max SIZE value for a LABEL block??

2014-06-02 Thread Basques, Bob (CI-StPaul)
All, I think I've run into this in the past, but . . . Is there a limit on the SIZE value in LABEL block? I seem to be hitting a wall at anything over 250 bobb ___ mapserver-users mailing list mapserver-users@lists.osgeo.org