<?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://permalink.gmane.org/gmane.comp.gis.mapserver.user/48482"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48481"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48480"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48479"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48478"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48477"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48476"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48475"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48474"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48473"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48472"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48471"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48470"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48469"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48468"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48467"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48466"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48465"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48464"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48463"/>
      </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://permalink.gmane.org/gmane.comp.gis.mapserver.user/48482">
    <title>Re: WFS GetFeature issue with MS4W</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48482</link>
    <description>&lt;pre&gt;


Hi Jeff

Thanks for your response. The wms_extent workaround doesn't work for us.
But the problem occurs on WFS GetFeature for us, not on GetCapabilities.
Our layer is a PostGIS layer by the way, which may be related to the
problem based on what I read in the tickets. Please tells if it's worth
creating a new GitHub issue for our problem.

Cheers,


&lt;/pre&gt;</description>
    <dc:creator>Eric Lemoine</dc:creator>
    <dc:date>2012-05-24T05:54:52</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48481">
    <title>Re: RE: WFS set up</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48481</link>
    <description>&lt;pre&gt;Not sure about the compilation problem, I have used prebuilt packages for years now...

Regarding the error message, see http://mapserver.org/mapfile/web.html 

You still need an HTML template file specified, even if you don't use it. The file does not need to exist, unless you do use it.

--- On Thu, 5/24/12, Alberto Najera &amp;lt;anajera&amp;lt; at &amp;gt;bicimapas.com.mx&amp;gt; wrote:

From: Alberto Najera &amp;lt;anajera&amp;lt; at &amp;gt;bicimapas.com.mx&amp;gt;
Subject: [mapserver-users] RE: WFS set up
To: "'mapserver-users'" &amp;lt;mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org&amp;gt;
Date: Thursday, May 24, 2012, 1:07 PM

Hi all

I have checked this all over again and the problem seems to be caused by the
mapserv cgi  build. I have configured it using "--with-wfs" and when done,
the response shows 

WFS Server: -DUSE_WFS_SVR

as expected, confirming this feature to be enabled in the build.

I then run "make" and when testing the supported features with ./mapserv -v,
it shows no support for WFS.  
Also when running the capabilities test, I got this response:

"mapserv(): Web application error. Traditional BROWSE mode requires a
TEMPLATE in the WEB section, but none was provided. msOWSDispatch(): WFS
server error. SERVICE=WFS requested, but WFS support not configured in
MapServer."

Why is this happening?

I am using Mapserver 6.0.1 in a Centos5 environment.   Could this be a bug
in Mapserver or am I missing something here?


Your help is greatly appreciated  

Alberto Najera

-----Mensaje original-----
De: Alberto Najera [mailto:anajera&amp;lt; at &amp;gt;bicimapas.com.mx] 
Enviado el: martes, 22 de mayo de 2012 12:06 p.m.
Para: 'mapserver-users'
Asunto: WFS set up

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:


_______________________________________________
mapserver-users mailing list
mapserver-users&amp;lt; at &amp;gt;lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
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>pcreso&lt; at &gt;pcreso.com</dc:creator>
    <dc:date>2012-05-24T04:53:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48480">
    <title>Mapserver as cascading WMS for ArcGIS Rest?</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48480</link>
    <description>&lt;pre&gt;Is it possible to have a layer in Mapserver pulling data from a ArcGIS Rest service?

Thanks,

Robert Sanson




This email and any attachments are confidential and intended solely for the addressee(s). If you are not the intended recipient, please notify us immediately and then delete this email from your system.

This message has been scanned for Malware and Viruses by Websense Hosted Security.
www.websense.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>Robert Sanson</dc:creator>
    <dc:date>2012-05-24T01:39:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48479">
    <title>RE: WFS set up</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48479</link>
    <description>&lt;pre&gt;Hi all

I have checked this all over again and the problem seems to be caused by the
mapserv cgi  build. I have configured it using "--with-wfs" and when done,
the response shows 

WFS Server: -DUSE_WFS_SVR

as expected, confirming this feature to be enabled in the build.

I then run "make" and when testing the supported features with ./mapserv -v,
it shows no support for WFS.  
Also when running the capabilities test, I got this response:

"mapserv(): Web application error. Traditional BROWSE mode requires a
TEMPLATE in the WEB section, but none was provided. msOWSDispatch(): WFS
server error. SERVICE=WFS requested, but WFS support not configured in
MapServer."

Why is this happening?

I am using Mapserver 6.0.1 in a Centos5 environment.   Could this be a bug
in Mapserver or am I missing something here?


Your help is greatly appreciated  

Alberto Najera

-----Mensaje original-----
De: Alberto Najera [mailto:anajera&amp;lt; at &amp;gt;bicimapas.com.mx] 
Enviado el: martes, 22 de mayo de 2012 12:06 p.m.
Para: 'mapserver-users'
Asunto: WFS set up

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:


_______________________________________________
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-24T01:07:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48478">
    <title>Tiles problem</title>
    <link>http://permalink.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://permalink.gmane.org/gmane.comp.gis.mapserver.user/48477">
    <title>Re: Postgres/Postgis additonal variable request</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48477</link>
    <description>&lt;pre&gt;Am Mittwoch, 23. Mai 2012, 14:58:02 schrieben Sie:

thanks for the hint. I had to extend a bit (by probably complete 
misunderstanding and misinterpreting), but it works ! :


DATA "the_geom from  (select coords as the_geom, datum, HWFarbe[25] as farbe 
from %produkt%) as farbe using unique farbe using srid=-1"


Generates:
select "datum", "farbe", 
encode(ST_AsBinary(ST_Force_2D("the_geom"),'NDR'),'hex') as geom ,
"farbe" from (select rechteck as the_geom, datum, HWFarbe[25] as farbe from 
produkt_20) as farbe
 where the_geom &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'))



_______________________________________________
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-23T14:19:21</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48476">
    <title>MapCache - A way to reduce BerkeleyDB Cache size ?</title>
    <link>http://permalink.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://permalink.gmane.org/gmane.comp.gis.mapserver.user/48475">
    <title>Re: WFS GetFeature issue with MS4W</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48475</link>
    <description>&lt;pre&gt;Hi Eric,

https://github.com/mapserver/mapserver/issues/4039 it seems I got around
the issue by setting the 'wms_extent' metadata.

Other than what is written in those tickets I don't have any more ideas.

-jeff




&lt;/pre&gt;</description>
    <dc:creator>Jeff McKenna</dc:creator>
    <dc:date>2012-05-23T13:31:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48474">
    <title>Re: Postgres/Postgis additonal variable request</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48474</link>
    <description>&lt;pre&gt;try this form:

DATA "the_geom from (select id,coords as the_geom,
*all_other_attributes_used_in_layer* from %farbe% join table2 on
foo=bar where blabla) as foo using unique id using srid=xxx"

On Wed, May 23, 2012 at 2:34 PM, Heiko Schroeter
&amp;lt;schroete&amp;lt; at &amp;gt;iup.physik.uni-bremen.de&amp;gt; wrote:
_______________________________________________
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>thomas bonfort</dc:creator>
    <dc:date>2012-05-23T12:58:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48473">
    <title>Re: WFS GetFeature issue with MS4W</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48473</link>
    <description>&lt;pre&gt;Hello,

Actually this is a sporadic problem (difficult to duplicate) that has
existed for a while it seems, and has appeared on Windows and Linux.
Here are some related open tickets, please join the discussions there
and provide feedback:

https://github.com/mapserver/mapserver/issues/3977
https://github.com/mapserver/mapserver/issues/4039

-jeff



&lt;/pre&gt;</description>
    <dc:creator>Jeff McKenna</dc:creator>
    <dc:date>2012-05-23T12:47:06</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48472">
    <title>Postgres/Postgis additonal variable request</title>
    <link>http://permalink.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://permalink.gmane.org/gmane.comp.gis.mapserver.user/48471">
    <title>RE: WFS GetFeature issue with MS4W</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48471</link>
    <description>&lt;pre&gt;Eric,

I'm getting somwthing very similar but without any response when called via
Apache. I have the same set up with IIS and Mapserver and that's working
well. 

If everything is requested via IIS then it works. When I switch the WMS and
WFS calls through to Apache on port 81 (main website still on port 80 and
IIS), the WMS is fine but there's no response from the WFS post. Nothing in
Mapserver logs so I'm pretty sure that it's not getting that far.

A getcapabilities request on localhost:81 returns ok as well.

So far, I cannot resolve this problem. I have also noticed a few similar
posts indicating the same issue.

I have cross-posted this to ms4w-users&amp;lt; at &amp;gt;lists.maptools.org.

Regards,

Donald

-----Original Message-----
From: mapserver-users-bounces&amp;lt; at &amp;gt;lists.osgeo.org
[mailto:mapserver-users-bounces&amp;lt; at &amp;gt;lists.osgeo.org] On Behalf Of Eric Lemoine
Sent: 23 May 2012 13:17
To: mapserver-users
Subject: [mapserver-users] WFS GetFeature issue with MS4W


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>Donald Kerr</dc:creator>
    <dc:date>2012-05-23T12:38:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48470">
    <title>Re: mapcache_seed and DIM variables - order offolders created</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48470</link>
    <description>&lt;pre&gt;No, it's not possible to do this at the moment. You can contact me
directly if you would like a quote on how much it would cost to have
this implemented.

regards,
thomas

On Wed, May 23, 2012 at 1:58 PM, Helen San Segundo Navazo
&amp;lt;hsansegundo&amp;lt; at &amp;gt;meteo.cat&amp;gt; wrote:
_______________________________________________
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>thomas bonfort</dc:creator>
    <dc:date>2012-05-23T12:25:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48469">
    <title>WFS GetFeature issue with MS4W</title>
    <link>http://permalink.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://permalink.gmane.org/gmane.comp.gis.mapserver.user/48468">
    <title>mapcache_seed and DIM variables - order offolders created</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48468</link>
    <description>&lt;pre&gt;hi ,
after some problems installing mapcache now I can use it perfectly.

I'm testing the mapcache_seed using dim variables and it works but when 
the folders are created I don't know if it's possible to create it in a 
determinate order.

I have a mapfile that accepts runtime substitution variables (date, 
hour, minute)

My mapcache.xml has defined the dimensions tag inside the tileset tag 
with the 3 variables

if I execute mapcache as:
sudo ./mapcache_seed -c /var/www/mapcache/mapcache.xml -t 
Meteosat_params -g WGS84 -z 0,3 -M 2,2  -D "minute=00" -D "hour=14"  -D 
"date=20120314"
I obtain:

--Meteosat_params
   |-------WGS84
             |-------00 (minute)
                       |-------14 (hour)
                                 |-------20120314 (date)


It would be better for what I need if the folder order could be 
date-hour-minute instead of minute-hour-date

I've tried to change the order in the mapcache_seed request but the 
result is always the same, anybody knows if it's possible to define the 
folder's order.

Thanks in advance,
Helen
_______________________________________________
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>Helen San Segundo Navazo</dc:creator>
    <dc:date>2012-05-23T11:58:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48467">
    <title>Re: convert projection from UTM to WGS84 using proj</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48467</link>
    <description>&lt;pre&gt;Dear friends,
I have solved my problem using ogr gui tool easily and thank you for
your interest.
Regards...

On Mon, 2012-05-21 at 09:43 +0000, Rahkonen Jukka wrote:



Murat BEYHAN 

Jeofizik Y.Müh.
T.C. Başbakanlık
Afet ve Acil Durum Yönetimi Başkanlığı
Deprem Dairesi Başkanlığı
Eskişehir Yolu 12. Km.
Lodumlu/ANKARA
Tel: 312 2872680-1556
email:beyhan&amp;lt; at &amp;gt;deprem.gov.tr




&lt;/pre&gt;</description>
    <dc:creator>Murat Beyhan</dc:creator>
    <dc:date>2012-05-23T08:17:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48466">
    <title>Re: Release of MapServer 6.0.3</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48466</link>
    <description>&lt;pre&gt;Hi,

FYI package for 6.0.3 is now up to the openSUSE Geo repository.

Regards,
Angelos

&lt;/pre&gt;</description>
    <dc:creator>Angelos Tzotsos</dc:creator>
    <dc:date>2012-05-23T07:21:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48465">
    <title>Release of MapServer 6.0.3</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48465</link>
    <description>&lt;pre&gt;The MapServer team announces the release of MapServer versions 6.0.3.

No new functionality has been added. 6.0.3 is a maintenance release that
fixes a few issues found in since 6.0.2. The list of fixes since 6.0.2
is included at the end of this message.

Source and binary downloads:
----------------------------

The source code is available at:

    http://mapserver.org/download.html

The binary distributions listed in the download page should be updated
shortly with binaries for the new 6.0.3 release.

-The MapServer Team


Version 6.0.3 (2012-05-18):
---------------------------

- Fix creation of a vector symbolObj in mapscript (#4318)

- Added coverage metadata in WCS (#4306)

- Adjusted WCS 2.0 GetCapbilities response (#4003)

- Ignore unknown requets parameteres in WCS 2.0 (#4307).

- Fixed mapscript is unusable in a web application due to memory leaks
(#4262)

- Fixed getFeature request with custom output format fails on filter
encoding (#4190)

- Fixed resolution when UoM changes in WCS 2.0 (#4283)

- Added missing DEFRESOLUTION parameter to msCopyMap() function (#4272)

- Fixed Python MapScript layerObj/classObj Error (#3940)

- Fixed WCS 2.0 axis order, offset vector, and origin (#4006, #4191)

- Fixed PHP MapScript opacity property of StyleObj no longer works (#3920)

- Added MS_CJC_* constants in PHP/MapScript (#4183)

- Fixed Memory leak with fribidi strings (#4188)

- Added missing properties in styleObj setter of PHP/MapScript (#3901)







_______________________________________________
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>Jeff McKenna</dc:creator>
    <dc:date>2012-05-22T17:11:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48464">
    <title>WFS set up</title>
    <link>http://permalink.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://permalink.gmane.org/gmane.comp.gis.mapserver.user/48463">
    <title>Integration of google_WMS into MapFile</title>
    <link>http://permalink.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://permalink.gmane.org/gmane.comp.gis.mapserver.user/48462">
    <title>Re: Layer - Group tag - deny single use</title>
    <link>http://permalink.gmane.org/gmane.comp.gis.mapserver.user/48462</link>
    <description>&lt;pre&gt;
Look at the REQUIRES tag, You should be able to make layer1 to require 
layer2 and vica versa so it will not display one without the other.

-Steve W
_______________________________________________
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>Stephen Woodbridge</dc:creator>
    <dc:date>2012-05-22T12:52:31</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>

