<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.gis.mapserver.user">
    <title>gmane.comp.gis.mapserver.user</title>
    <link>http://blog.gmane.org/gmane.comp.gis.mapserver.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48508"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48504"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48503"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48502"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48499"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48497"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48496"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48494"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48492"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48491"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48483"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48478"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48476"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48472"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48469"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48464"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48463"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48461"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48457"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48454"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48508">
    <title>I'll be out of the office till Tuesday May 28th.Any time critical requests should be f</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48508</link>
    <description>&lt;pre&gt;
I'll be out of the office till Tuesday May 28th.   Any time critical requests should be followed up with the qPublic office at 386-734-1954.

_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

&lt;/pre&gt;</description>
    <dc:creator>Steve Lehr</dc:creator>
    <dc:date>2012-05-25T19:11:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48504">
    <title>collect value from xml and show it in htmltemplate</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48504</link>
    <description>&lt;pre&gt;I'm trying to use MODIS WMS in my study purpose mapweb. The images are 
"time support" but I don't know the last day that MODIS image is 
available. This data is the default value in xml definition file 
(http://neowms.sci.gsfc.nasa.gov/wms/wms?version=1.1.1&amp;amp;service=WMS&amp;amp;request=GetCapabilities). 
I'd like collect the last data value available and use it for print the 
data that I'm using for my web application. Without this value, I can 
show the map but I don't know it's acquiring data.

Thanks
_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

&lt;/pre&gt;</description>
    <dc:creator>gianluca massei</dc:creator>
    <dc:date>2012-05-25T17:45:41</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48503">
    <title>I'll be out of the office till Tuesday May 28th.Any time critical requests should be f</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48503</link>
    <description>&lt;pre&gt;
I'll be out of the office till Tuesday May 28th.   Any time critical requests should be followed up with the qPublic office at 386-734-1954.

_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

&lt;/pre&gt;</description>
    <dc:creator>Steve Lehr</dc:creator>
    <dc:date>2012-05-25T16:00:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48502">
    <title>some help on basic template (a beginner question)</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48502</link>
    <description>&lt;pre&gt;Hi,

I've been following the beginners tutorial and after searching the
archives (probably not so extensively) I couldn't find what I'm doing
wrong. I had arrived just at example1-9 and I can't find the way to
match my file.map to my index.html. The webserver is working fine. I'm
able to execute my file.map but when I try to visualise and execute a
personal version of example1-9 I always got stuck at this point:

msLoadMap(): Regular expression error. MS_DEFAULT_MAPFILE_PATTERN
validation failed. msEvalRegex(): Regular expression error. String
failed expression test.

My computer and files configuration are :

/etc/apache2/sites-available/default

&amp;lt;VirtualHost *:80&amp;gt;
ServerAdmin webmaster&amp;lt; at &amp;gt;localhost
ServerName cordillera
DocumentRoot /home/admin-root/cordillera

 (rest omitted)
--------------------------------------------------------------------------------------------------------------------------------------------

/etc/hosts

127.0.0.1cordillera
---------------------------------------------------------------------------------------------------------------------------------------------

File structure:

/home/admin-root/cordillera
/datos_mapserver (.shp and .tiff files)
/tmp
    /ms_tmp
index.html
lagos_rios_dem.map

--------------------------------------------------------------------------------------------------------------------------------------------
cat index.html (is just a modification of example1-9.html)

&amp;lt;!--mapserver template--&amp;gt;
&amp;lt;html&amp;gt;
  &amp;lt;head&amp;gt;
    &amp;lt;title&amp;gt;MapServer Cordillera&amp;lt;/title&amp;gt;

  &amp;lt;/head&amp;gt;
  &amp;lt;body bgcolor="#FFFFFF"&amp;gt;

    &amp;lt;center&amp;gt;&amp;lt;h2&amp;gt;MapServer Cordillera Application (ms v5.4)&amp;lt;/h2&amp;gt;&amp;lt;/center&amp;gt;
    &amp;lt;p&amp;gt;&amp;lt;hr&amp;gt;&amp;lt;p&amp;gt;
    &amp;lt;!-- START OF MAPSERVER FORM --&amp;gt;
        &amp;lt;form name="mapserv" method="GET" action="/cgi-bin/mapserv"&amp;gt;
          &amp;lt;!-- HIDDEN MAPSERVER CGI VARIABLES --&amp;gt;
          &amp;lt;input type="hidden" name="map" value="[map]"&amp;gt;
          &amp;lt;input type="hidden" name="imgext" value="[mapext]"&amp;gt;
          &amp;lt;input type="hidden" name="imgxy" value="[center]"&amp;gt;
  &amp;lt;input type="hidden" name="zoom" value="0"&amp;gt;
  &amp;lt;input type="hidden" name="layer" value="relieve"&amp;gt;
  &amp;lt;input type="hidden" name="layer" value="aster-dem"&amp;gt;
  &amp;lt;input type="hidden" name="mode" value="browse"&amp;gt;
  &amp;lt;div align="center"&amp;gt;
    &amp;lt;table border="1" cellpadding="0" cellspacing="0"&amp;gt;
      &amp;lt;tr&amp;gt;
                &amp;lt;td&amp;gt;
  &amp;lt;!-- THE INTERACTIVE, DYNAMICALLY CREATED MAP --&amp;gt;
  &amp;lt;input type="image" name="img" src="[img]"
                    width="400" height="300"&amp;gt;
&amp;lt;/td&amp;gt;
              &amp;lt;/tr&amp;gt;
    &amp;lt;/table&amp;gt;
  &amp;lt;/div&amp;gt;
&amp;lt;/form&amp;gt;
        &amp;lt;!-- END OF MAPSERVER FORM --&amp;gt;
 &amp;lt;/form&amp;gt;

    &amp;lt;p&amp;gt;&amp;lt;hr&amp;gt;
    &amp;lt;table width="100%"&amp;gt;&amp;lt;tr&amp;gt;&amp;lt;td align="right"&amp;gt;This site running
MapServer v. 5.4&amp;lt;/td&amp;gt;&amp;lt;/tr&amp;gt;&amp;lt;/table&amp;gt;
  &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
--------------------------------------------------------------------------------------------------------------------------------------------

cat lagos_rios_dem.map

MAP
  IMAGETYPE      PNG24
  EXTENT         -78 -10.5 -76.4 -8.25
  SIZE          700 1000
  SHAPEPATH      "datos_mapserver"
  IMAGECOLOR     255 255 255

WEB
   TEMPLATE  'index.html'
   IMAGEPATH '/home/admin-root/cordillera/tmp/ms_tmp'
   IMAGEURL  '/ms_tmp/'
END

LAYER

NAMErelieve
DATA"mapa_de_relieve"
STATUSOFF
TYPERASTER
OFFSITE65 73 72
TRANSPARENCY 80

END

LAYER

    NAME         aster-dem
    DATA         "mapa_de_color"
    STATUS       OFF
    TYPE         RASTER
    OFFSITE      65 73 72
    TRANSPARENCY 70

  CLASS
EXPRESSION ([pixel] &amp;gt;= 5479 AND [pixel] &amp;lt; 6800)
      STYLE
        COLORRANGE  250 250 255  255 255 255
        DATARANGE   5479 6800
      END
    END

END

  LAYER # Lagos
    NAME         lagos
    DATA         lagos
    STATUS       OFF
    TYPE         LINE
    TRANSPARENCY 60

    CLASS
      NAME       "Lagos"
      STYLE
        COLOR    0 0 232
      END
    END
  END

  LAYER
    NAME         rios
    DATA         rios
    STATUS       OFF
    TYPE         LINE
    TRANSPARENCY 60
    CLASS
      NAME       "Rios"
      STYLE
        COLOR    0 0 200
      END
    END
  END

END

--------------------------------------------------------------------------------
Thanks in advance!

Antonio
_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

&lt;/pre&gt;</description>
    <dc:creator>Antonio Rodríguez</dc:creator>
    <dc:date>2012-05-25T09:04:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48499">
    <title>I'll be out of the office till Tuesday May 28th.Any time critical requests should be f</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48499</link>
    <description>&lt;pre&gt;
I'll be out of the office till Tuesday May 28th.   Any time critical requests should be followed up with the qPublic office at 386-734-1954.

_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

&lt;/pre&gt;</description>
    <dc:creator>Steve Lehr</dc:creator>
    <dc:date>2012-05-24T23:04:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48497">
    <title>CLASS NAME Runtime substitution Variable</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48497</link>
    <description>&lt;pre&gt;Hi
My users will have the option to request a new map by changing YEAR. With 
Openlayers I use vendorParams to add new parameters in the getMap request. 
I use the YEAR parameters as a  Runtime substitution Variable for FILTER 
in the mapfile, pretty simple

My problem is for GetLegendGraphics because the class name will have to 
change on each request. I know that it is not possible yet to use Runtime 
substitution Variable on CLASS NAME. Is it because no one request for it 
or it is technically not possible?
The thread below discuss on using CLASS TITLE to do that
http://osgeo-org.1560.n6.nabble.com/runtime-substitution-class-name-td4228412.html

the GetLegendGraphic request look like
...&amp;amp;map.layer[RSS_MPOC].class[classe1_sign]=TITLE+'&amp;gt;= 2.38 &amp;lt;=56'

If I need to use this technique how can I send 
&amp;amp;map.layer[RSS_MPOC].class[classe1_sign]=TITLE+NEWTITLE as a parameter to 
the GetLegendGraphic  request?
thanks
steve

_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
&lt;/pre&gt;</description>
    <dc:creator>Steve.Toutant&lt; at &gt;inspq.qc.ca</dc:creator>
    <dc:date>2012-05-24T18:51:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48496">
    <title>legend not visible with maxscaledenom set</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48496</link>
    <description>&lt;pre&gt;This appears to be an old problem, but I am still having trouble with it
in MapServer 6.0.2.   If I have a layer without a Maxscaledenom set, the
layer legend displays properly.  But if I set the Maxscaledenom, the
legend does not appear in my application.  This happens when
Maxscaledenom is set at the layer level or the class level.

 

I've looked though the archives and have seen this problem since version
5, but don't see a resolution for MS 6.

_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
&lt;/pre&gt;</description>
    <dc:creator>Bistrais, Bob</dc:creator>
    <dc:date>2012-05-24T17:43:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48494">
    <title>Compilation error with WFS</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48494</link>
    <description>&lt;pre&gt;Hello list,

I have compiled mapserver version 6.0.1 in a Centos5 environment and used is
successfully for a couple of months, including the WMS server option. I want
to add WFS server capability, which was not included in the initial
compilation. So I added that feature in the configure call using
"--with-wfs" and when done, the response shows 

WFS Server: -DUSE_WFS_SVR

confirming this feature to be enabled in the build.

I then run "make" and all seems to work well but when testing the supported
features with ./mapserv -v, it shows no support for WFS server.  
 
After several attempts, I decided to install the recently released Mapserver
version 6.0.3 and try it, using the same call for configure but an error
shows during Make, as follows:

mapwfs11.c.496:error conflicting types for âmsWFSGetCapabilities11â
mapows.h:421: note: previous declaration of âmsWFSGetCapabilities11â was
here
make: *** [mapwfs11.o] Error 1

What does this error mean and how should this be fixed? Am I missing
something to add WFS capability

Thanks

Alberto Najera


_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

&lt;/pre&gt;</description>
    <dc:creator>Alberto Najera</dc:creator>
    <dc:date>2012-05-24T16:28:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48492">
    <title>I'll be out of the office till Tuesday May 28th.Any time critical requests should be f</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48492</link>
    <description>&lt;pre&gt;
I'll be out of the office till Tuesday May 28th.   Any time critical requests should be followed up with the qPublic office at 386-734-1954.

_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

&lt;/pre&gt;</description>
    <dc:creator>Steve Lehr</dc:creator>
    <dc:date>2012-05-24T15:39:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48491">
    <title>I'll be out of the office till Tuesday May 28th.Any time critical requests should be f</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48491</link>
    <description>&lt;pre&gt;
I'll be out of the office till Tuesday May 28th.   Any time critical requests should be followed up with the qPublic office at 386-734-1954.

_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

&lt;/pre&gt;</description>
    <dc:creator>Steve Lehr</dc:creator>
    <dc:date>2012-05-24T16:00:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48483">
    <title>Cut off/missing tiles</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48483</link>
    <description>&lt;pre&gt;Hi

 

I have an issue which seems to relate to tile-edge buffering and world-view
zoom levels.

 

There's an example page at http://mapserver.magicsite.co.uk

 

When you first visit the page, all seems normal, until you zoom out 1 level,
at which point the tile which should sit over the west of the US doesn't
display.

wraps around the world, the tile in question is not rendered.

Turn edge-buffering off and that tile is rendered correctly. Unfortunately,
I'm in a position where I can't turn the buffering off.

 

from the mapfile:
WEB

    METADATA

        "wms_title" "xxxx"

        "wms_onlineresource" "xxxx"

        "wms_srs" "EPSG:4326"

        "tile_map_edge_buffer" "9" # 9 pixel rendering buffer

        "http_max_age" "86400"

    END

  END

 

As far as I can tell, everything else is working correctly. 

What I'm not clear on - is this a bug in the edge buffering within the
software, or am I doing something wrong?

 

The server running the example URL is  currently using version 5.7-dev, but
the same issue is also apparent on a production server running v6.0.2

 

Interested to know if anyone else has experienced the same issue?

 

Regards

 

Charlie

 

--

Charlie Allgrove

Senior Developer

 

Connection Services :: Business Mobility for a Wireless World

 

Connection Services Ltd is a company incorporated under the laws of England
and Wales with company number 6520674 whose registered office is at Griffins
Court, 24-32 London Road, Newbury, Berkshire, RG14 1JX. The information in
this e-mail and any attachments is confidential and may be legally
privileged. It is intended solely for the addressee or addressees. If you
are not an intended recipient, please delete the message and any attachments
and notify the sender of misdelivery: any use or disclosure of the contents
of either is unauthorised and may be unlawful. All liability for viruses is
excluded to the fullest extent permitted by law. Any views expressed in this
message are those of the individual sender. In accordance with the
provisions of its Terms of Business the Company does not accept instructions
or the creation of contractual obligations by unconfirmed electronic
transmission.

 

_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
&lt;/pre&gt;</description>
    <dc:creator>Charlie Allgrove</dc:creator>
    <dc:date>2012-05-24T10:34:42</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48478">
    <title>Tiles problem</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48478</link>
    <description>&lt;pre&gt;Hi, i have this problem when i generate tiles with mapscript using java 
or php.


My .map principal

MAP
     NAME "Map
     STATUS on
     SIZE 256 256
     EXTENT -20037508 -20037508 20037508 20037508
     UNITS meters
     IMAGETYPE agg
     SHAPEPATH "data"
     FONTSET "/font/fonts.fnt"
     SYMBOLSET "/symbols.sym"
     IMAGECOLOR "#b3c6d4"

     OUTPUTFORMAT
         NAME agg
         DRIVER agg/png
         IMAGEMODE rgb
         FORMATOPTION "PALETTE_FORCE=TRUE" #es incompatible con la 
opcion anterior
         FORMATOPTION 
"PALETTE=/var/www/localhost/htdocs/rest/map/palette/map.palette"
         MIMETYPE "image/png"
     END

INCLUDE routes.map
...

END #map

And routes.map


MAP

LAYER
         NAME routes
         STATUS on
         TYPE line
         DATA "from postgisDB"
         CLASSITEM "routestypegroupid"
         LABELITEM "name"
         MAXSCALEDENOM 14062500
         MINSCALEDENOM 0
         TOLERANCE 10

     CLASS # Level 2
             EXPRESSION /^4*$/
             MAXSCALEDENOM 13732
             MINSCALEDENOM 6867
             STYLE
                 WIDTH 4
                 COLOR "#ffffff"
                 OUTLINECOLOR "#a09686"
                 OUTLINEWIDTH 1
             END
             LABEL
                 FONT sans
                 TYPE truetype
                 SIZE 7
                 COLOR "#000000"
                 OUTLINECOLOR "#ffffff"
                 MINDISTANCE 100
                 BUFFER 5
                 PARTIALS false
                 ANGLE follow
                 OUTLINECOLOR "#ffffff"
                 OUTLINEWIDTH 3
             END
         END
....

END

Thanks.

Disclaimer:

This email and any attachments thereof may contain confidential, privileged, proprietary, or otherwise private information. This email is intended solely for the use of the individual to whom it is addressed. If you are not the intended recipient of the email and its attachments please inform the sender immediately and do not disclose the contents to any other person, use it for any purpose or store or copy the information in any way and delete this e-mail and its attachments from your system. Any views or opinions expressed are solely those of the author.
_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
&lt;/pre&gt;</description>
    <dc:creator>Lucero, Gastón (SITRACK</dc:creator>
    <dc:date>2012-05-23T14:25:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48476">
    <title>MapCache - A way to reduce BerkeleyDB Cache size ?</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48476</link>
    <description>&lt;pre&gt;Hi list,
I would like to experiment Berkeley DB cache type but i'm surprised of the
resulting db size compared to sqlite cache type. Here is my results for
about 13000 tiles:

Total tiles size  = 44 Mb
Sqlite = 48 Mb
Berkeley DB = 61 Mb
Disk = 66 Mb (with 4kb filesystem block size)

I thought i could reduce storage capacity with Berkeley DB cache type as
with Sqlite but it seems there is not much difference with disk cache type.
Is there a way to reduce Berkeley DB cache size ?

Thanks for your help

Ludovic

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/MapCache-A-way-to-reduce-BerkeleyDB-Cache-size-tp4976403.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

&lt;/pre&gt;</description>
    <dc:creator>Ludovic Gnemmi</dc:creator>
    <dc:date>2012-05-23T13:55:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48472">
    <title>Postgres/Postgis additonal variable request</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48472</link>
    <description>&lt;pre&gt;Hello,

i need to select data from an array inside a table. I cannot get mapserver to 
create the correct select request statement.
The problem i recognize is that the "unique" key is inserted in the Mapserver 
select request as ".... key from , ....".

Basically i need something like this:
select coords as geom, color from produkt_db using unique date using srid=-1

What do i have to do to request additional values in the mapserver DATA Line 
besides the "geom" and the "unique key" variables which are inserted 
automatically ?

Thanks and Regards
Heiko


The Mapserver Postgres Docs says this:
 ..... The form of DATA is “[geometry_column] from [table_name|sql_subquery] 
using unique [unique_key] using srid=[spatial_reference_id]”......

s/w versions:
Postgres 9.1
MapServer version 6.0.1
OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG 
SUPPORTS=FREETYPE SUPPORTS=ICONV
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER 
SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER 
SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI INPUT=POSTGIS INPUT=OGR INPUT=GDAL 
INPUT=SHAPEFILE


Requesting the database manually this select statement works fine:
select "datum", encode(ST_AsBinary(ST_Force_2D("rechteck"),'NDR'),'hex') as 
geom, HWFarbe[40] as farbe from produkt_20 where rechteck &amp;amp;&amp;amp; 
GeomFromText('POLYGON((-269.711846318036 -138.025613660619,-269.711846318036 
138.025613660619,269.711846318036 138.025613660619,269.711846318036 
-138.025613660619,-269.711846318036 -138.025613660619))',-1) and 
((date_trunc('minute', datum) &amp;gt;= '2006-08-02 00:00:00' AND 
date_trunc('minute', datum) &amp;lt;= '2006-08-02 23:59:00'));



And this mapfile results in the query below (closest i could get to the 
working select statement above):
&amp;lt;snip&amp;gt;
 LAYER 
 EXTENT -180 -90 180 90
 CONNECTIONTYPE POSTGIS
 NAME "PRODLAYER"
 PROCESSING "CLOSE_CONNECTION=DEFER"
 OPACITY 100
 STATUS ON
VALIDATION
"produkt" "^[a-zA-Z0-9_]+$"
"hoehe" "^[0-9]+$"
END
 METADATA
 "wms_timeextent" "1970-01-01 00:00/2030-12-31 24:00"
 "wms_timeitem" "datum" #column in postgis table of type timestamp
 "wms_timedefault" "2007-12-10 00:00/2007-12-11 24:00"
 "wms_title" "%produkt%"
 "wms_srs" "init=epsg:4326"
 END
 PROJECTION
 "init=epsg:4326"
 END
 CONNECTION "user={97C559B77AE23F6F} password={53E7F71F40F9BD02} 
dbname={5A08CA2830DE1001} host=dw"

DATA "rechteck from , HWFarbe[%hoehe%] as farbe from %produkt% using unique 
datum using srid=-1"

 TYPE POLYGON
 SIZEUNITS meters
 CLASS
 NAME "produkt_total_class"
 STYLE
 OUTLINECOLOR 0 0 0
 COLOR [farbe]
 END
 END
 END # Layer
&amp;lt;snap&amp;gt;


Mapserver Error Log:
&amp;lt;snip&amp;gt;
[Wed May 23 14:10:15 2012].482261 msPostGISLayerWhichShapes(): Query error. 
Error (FEHLER:  Syntaxfehler bei ","
LINE 1: ...2D("rechteck"),'NDR'),'hex') as geom,"datum" from , HWFarbe[...
                                                             ^
select 
"datum","farbe",encode(ST_AsBinary(ST_Force_2D("rechteck"),'NDR'),'hex') as 
geom,"datum" from , HWFarbe[40] as farbe from produkt_20 where rechteck &amp;amp;&amp;amp; 
GeomFromText('POLYGON((-269.711846318036 -138.025613660619,-269.711846318036 
138.025613660619,269.711846318036 138.025613660619,269.711846318036 
-138.025613660619,-269.711846318036 -138.025613660619))',-1) and 
((date_trunc('minute', datum) &amp;gt;= '2006-08-02 00:00:00' AND 
date_trunc('minute', datum) &amp;lt;= '2006-08-02 23:59:00'));
[Wed May 23 14:10:15 2012].482294 msDrawMap(): Image handling error. Failed to 
draw layer named 'PRODLAYER'.
&amp;lt;snap&amp;gt;

_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

&lt;/pre&gt;</description>
    <dc:creator>Heiko Schroeter</dc:creator>
    <dc:date>2012-05-23T12:34:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48469">
    <title>WFS GetFeature issue with MS4W</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48469</link>
    <description>&lt;pre&gt;Hi

I'm facing an issue with WFS GetFeature POST requests. This is with
MS4W 3.0.4 [1] (installed from the zip file), on Windows Server 2008
R2 Standard, 64-bit.  The XML response returned by mapserv is
incomplete. The WFS GetFeature request is pretty basic, it just
includes a BBOX filter, see [2]. The end of the truncated response
looks like this:

&amp;lt;gml:featureMember&amp;gt;
      &amp;lt;ms:mo9_immeubles&amp;gt;
        &amp;lt;gml:boundedBy&amp;gt;
        &amp;lt;gml:Box srsName="EPSG:21781"&amp;gt;
        &amp;lt;gml:coordinates&amp;gt;533307.287000,196036.205000
533337.719000,196067.143000&amp;lt;/gml:coordinates&amp;gt;
        &amp;lt;/gml:Box&amp;gt;
        &amp;lt;/gml:boundedBy&amp;gt;
        &amp;lt;ms:msGeometry&amp;gt;
        &amp;lt;gml:Polygon srsName="EPSG:21781"&amp;gt;
          &amp;lt;gml:outerBoundaryIs&amp;gt;
            &amp;lt;gml:LinearRing&amp;gt;
              &amp;lt;gml:coordinates&amp;gt;533333.496000,196036.205000
533337.719000,196056.953000 533325.629000,196060.658000
533312.183000,196067.143000 533307.287000,196043.126000
533315.968000,196042.982000 533317.853181,196042.846235
533319.724379,196042.579861 533321.572558,196042.184165
533323.388789,196041.661057 533325.164302,196041.013065
533326.890520,196040.243318 533328.559106,196039.355533
533330.162000,196038.354000 533333.496000,196036.205000
&amp;lt;/gml:coordinates&amp;gt;
            &amp;lt;/gml:LinearRing&amp;gt;
          &amp;lt;/gml:outerBoundaryIs&amp;gt;
        &amp;lt;/gml:Polygon&amp;gt;
        &amp;lt;/ms:msGeometry&amp;gt;
        &amp;lt;ms:url_terris_intra&amp;gt;&amp;amp;lt;a href=&amp;amp;quot;javascript:si


The same WFS GetFeature using GET results in a complete response, so
the issue really is related to POST. And when using MapServer on
*Linux* the same exact WFS GetFeature does result in a complete
response. On Windows the response headers include Transfer-Encoding:
"chunked". This has sounded suspicious to me first, because on Linux
MapServer does not return chunked responses. But I also get
Transfer-Encoding: "chunked" on Windows when using GET.

I have enabled debugging logs in MapServer [3], but this hasn't led
anywhere - the MapServer log file remains empty. Apache access.log
includes "Apache access.log: nesitnd1.ne.ch - - [23/May/2012:12:28:19
+0200] "POST /test_eric/mapserv? HTTP/1.1" 200 36825". This is
interesting to note that the response is a 200. And Apache error.log
does not reveal any MapServer crash (no "premature end of script" type
of thing).

Any suggestion for me?

Thanks.


[1] D:\ms4w\Apache\cgi-bin&amp;gt;mapserv -v
MapServer version 6.0.2 (MS4W 3.0.4) OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG
OUTPUT=KML SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=CA
IRO SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=FRIBIDI
SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPOR
TS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=SOS_SERVER SUPPORTS=FASTCGI
SUPPORTS=THREADS SUPPORTS=GEOS INPUT=JPEG INPUT=P
OSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

[2] &amp;lt;wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs"
service="WFS" version="1.0.0"
xsi:schemaLocation="http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-transaction.xsd"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt;&amp;lt;wfs:Query
typeName="feature:mo9_immeubles"&amp;gt;&amp;lt;ogc:Filter
xmlns:ogc="http://www.opengis.net/ogc"&amp;gt;&amp;lt;ogc:BBOX&amp;gt;&amp;lt;ogc:PropertyName&amp;gt;geom&amp;lt;/ogc:PropertyName&amp;gt;&amp;lt;gml:Box
xmlns:gml="http://www.opengis.net/gml"&amp;gt;&amp;lt;gml:coordinates decimal="."
cs="," ts=" "&amp;gt;533104.74107143,195925.49107143
533327.24107143,196115.49107143&amp;lt;/gml:coordinates&amp;gt;&amp;lt;/gml:Box&amp;gt;&amp;lt;/ogc:BBOX&amp;gt;&amp;lt;/ogc:Filter&amp;gt;&amp;lt;/wfs:Query&amp;gt;&amp;lt;/wfs:GetFeature&amp;gt;

[3]
    CONFIG "MS_ERRORFILE" "D:/tmp/ms_error.txt"
    DEBUG 5
    CONFIG "CPL_DEBUG" "ON"
    CONFIG "PROJ_DEBUG" "ON"



&lt;/pre&gt;</description>
    <dc:creator>Eric Lemoine</dc:creator>
    <dc:date>2012-05-23T12:16:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48464">
    <title>WFS set up</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48464</link>
    <description>&lt;pre&gt;Hello

I am setting up a map file for WFS access but I do not get a response when
testing for capabilities, just a 404 error.  Following the guidelines in the
Mapserver documentation, the CGI was compiled using "-with-wfs" and  I am
using this URL to test capabilities:

http://173.236.45.118/cgi-bin/wfs?SERVICE=WFS&amp;amp;VERSION=1.0.0&amp;amp;REQUEST=GetCapab
ilities

The data file is SHP and this is the map file (named BiciMapasWFS.map):

MAP
NAME "BiciMapasWFS"
UNITS dd
SIZE 640 480
IMAGECOLOR 244 244 244
IMAGETYPE png
SHAPEPATH "/home/bicimapas/mapdata/"
EXTENT -99.269569 19.479910 -99.224060 19.524080
FONTSET "/home/bicimapas/mapdata/fontset.txt"

WEB
    TEMPLATE "/home/bicimapas/www/bcmpms.html"
    IMAGEPATH "/home/bicimapas/www/images/"
    IMAGEURL "/images/"
    MAXSCALEDENOM 15000
    METADATA
    "wfs_title" "BiciMapasMS"
    "wfs_onlineresource"
"http://173.236.45.118/cgi-bin/mapserv?map=/home/bicimapas/mapdata/BiciMapas
WFS.map&amp;amp;"
    "wfs_srs" "EPSG:4326"
    "wfs_enable_request" "*"
    END
END

PROJECTION
    "init=epsg:4326"
END

LAYER
    NAME "caminos"
    DATA "CaminosMS"
    STATUS on
    TYPE line
    METADATA
    "wfs_title" "caminos"
    "wfs_srs" "EPSG:4326"
    "gml_include_items" "all"
    "gml_featureid" "ID"
    "wfs_enable_request" "*"
    END
    PROJECTION
    "init=epsg:4326"
    END
   CLASS
        NAME "Caminos"
        STYLE
            WIDTH 2
            COLOR 0 0 0
        END
    END # class Calles
END # layer roads
END # mapfile


What am I missing?

Thanks

Alberto Najera


_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

&lt;/pre&gt;</description>
    <dc:creator>Alberto Najera</dc:creator>
    <dc:date>2012-05-22T17:06:05</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48463">
    <title>Integration of google_WMS into MapFile</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48463</link>
    <description>&lt;pre&gt;Hi everyone,

I´m a new user of mapserver.
Can somenoe tell me how to intergate the google WMS layers in the
MapFile and diplay it in pmapper?

Thanks!

-------------------------------------------------------------




&lt;/pre&gt;</description>
    <dc:creator>Mustapha AMZIL</dc:creator>
    <dc:date>2012-05-22T14:09:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48461">
    <title>Layer - Group tag - deny single use</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48461</link>
    <description>&lt;pre&gt;Hi,
I'm study-ing the
Layer grouping directive (GROUP).
It is very nice because it allow to use as an unique layer two or more
layers (rasters and vectors).

I need also to avoid to any user to request a single layer of a group.

For exmaple:
if there a group "A" compose of layer-1 + layer-2.

An user that request "A" will receive a map with layer-1 + layer2.

Is possible to avoid an user could call singolarly "layer1" or "layer-2" ?

Thx,

&lt;/pre&gt;</description>
    <dc:creator>Andrea Peri</dc:creator>
    <dc:date>2012-05-22T11:26:30</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48457">
    <title>Runtime Substitution Not Working</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48457</link>
    <description>&lt;pre&gt;Hi,

I'm trying to use runtime substitution to replace the DATA setting of the Mapfile at runtime.  I'm running in tile mode and using GRD raster format.

Here's the mapfile:
MAP
    NAME Blah2
    STATUS ON
    SHAPEPATH "C:/Contours/FSGrids"
    PROJECTION "init=epsg:26918" END
    LAYER
        NAME Contour
        TYPE RASTER
        STATUS ON
        DATA '%file%'
        CLASS
            NAME "Contour"
        END
        PROJECTION "init=epsg:26918" END
    END # Layer
END

And here is a sample request for one of the tiles that I've copied from Fiddler ...

http://&amp;lt;my server&amp;gt;/cgi-bin/mapserv.exe?map=C:/ms4w/Maps/mapfile2.map&amp;amp;file=Site_1_1_1_Total.grd&amp;amp;mode=tile&amp;amp;layers=Contour&amp;amp;tilemode=ve&amp;amp;tile=03023032203031&amp;lt;http://%3cmy%20server%3e/cgi-bin/mapserv.exe?map=C:/ms4w/Maps/mapfile2.map&amp;amp;file=Site_1_1_1_Total.grd&amp;amp;mode=tile&amp;amp;layers=Contour&amp;amp;tilemode=ve&amp;amp;tile=03023032203031&amp;gt;

If I put the filename directly in the DATA setting of the mapfile it works fine and I see the grid in Virtual Earth.  If I try to use runtime substitution to put the file name it just produces blank tiles.

Any help is very much appreciated, thanks!

Ryan
_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
&lt;/pre&gt;</description>
    <dc:creator>Ryan Dussiaume</dc:creator>
    <dc:date>2012-05-21T15:55:11</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48454">
    <title>How to do a static text label</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48454</link>
    <description>&lt;pre&gt;I'm trying to label point features with a static text string, not using
an item value.  For example, if a feature is in a layer, show the point
symbol, and label it "A", another layer, label it "B".  

 

I seem to remember seeing this map file parameter somewhere, but can't
find it anywhere.  Does anyone remember this?  If so, what is the syntax
of it?

_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
&lt;/pre&gt;</description>
    <dc:creator>Bistrais, Bob</dc:creator>
    <dc:date>2012-05-21T15:18:48</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.gis.mapserver.user/48447">
    <title>any answer for this question</title>
    <link>http://comments.gmane.org/gmane.comp.gis.mapserver.user/48447</link>
    <description>&lt;pre&gt;http://gis.stackexchange.com/questions/16285/mapserver-set-no-image-available

I am also looking for a answer for this question.... Could you update the
methodology

Thanks and Regards
Arulraj.M

--
View this message in context: http://osgeo-org.1560.n6.nabble.com/any-answer-for-this-question-tp4975718.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

&lt;/pre&gt;</description>
    <dc:creator>arul</dc:creator>
    <dc:date>2012-05-19T14:00:00</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.gis.mapserver.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.gis.mapserver.user</link>
  </textinput>
</rdf:RDF>

