[mapserver-users] unsubscribe

2016-07-18 Thread Paul D Pruitt
unsubscribe

Best Wishes,

Paul D Pruitt

socr...@s2services.com
(301) 493-4982
9006 Friars Rd.
Bethesda, MD  20817-3320

   - Have a manuscript lying around gathering dust? Let me help you
   self-publish it .


On Mon, Jul 18, 2016 at 5:24 AM, Andrea Peri  wrote:

> Hi Even,
> Your workaround is work and is perfect for me.
>
> Thx,
>
> A.
>
>
> 2016-07-18 10:02 GMT+02:00 Even Rouault :
> > Andrea,
> >
> >> I like to understand why mapserver seem don't recognize a field that
> >> is primary key as feature_id field.
> >
> > The issue is that PK_UID is recognized by OGR as the field for the OGR
> > featureid and thus not exposed as an item to MapServer. One way to
> workaround
> > this is to make the PK_UID field available as a regular field with a
> SELECT
> >
> > For example, like this :
> >
> >   NAME towns
> >   DATA "SELECT ROWID as msFID, * FROM towns"
> >   CONNECTIONTYPE OGR
> >   CONNECTION "./data/db.sqlite"
> >   METADATA
> > "ows_title" "towns"
> > "wfs_featureid" "msFID"
> > "gml_exclude_items" "msFID"
> > "gml_include_items" "all"
> > "gml_types" "auto"
> >   END
> >
> > Even
> >
> > --
> > Spatialys - Geospatial professional services
> > http://www.spatialys.com
>
>
>
> --
> -
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] Mapcache: Can't get transparency from WMS layer

2016-07-18 Thread Travis Kirstine
In your WMS requests logs (i.e.  Apache) does mapcache make a request for a 
transparent image and is the image returned transparent,   if you copy the 
mapcache generated request into your browser or fetch the wms via curl is the 
image transparent?



-Original Message-
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of prototron
Sent: July-17-16 11:45 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Mapcache: Can't get transparency from WMS layer

Hello,

I have a Mapserver up and running, sharing WMS layers. Those layers are 
rendered with transparency, but not with Mapcache. 

I can add the layers in QGIS, and the caching works. But not the transparency.

I tried to add  tag into the  tag of the source. No 
reference to JPEG format, only PNG.

Here is my config file: http://pastebin.com/gHx0eiw3





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Mapcache-Can-t-get-transparency-from-WMS-layer-tp5276797.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] feature_id not found as wfs feature_id in a spatialite db

2016-07-18 Thread Andrea Peri
Hi Even,
Your workaround is work and is perfect for me.

Thx,

A.


2016-07-18 10:02 GMT+02:00 Even Rouault :
> Andrea,
>
>> I like to understand why mapserver seem don't recognize a field that
>> is primary key as feature_id field.
>
> The issue is that PK_UID is recognized by OGR as the field for the OGR
> featureid and thus not exposed as an item to MapServer. One way to workaround
> this is to make the PK_UID field available as a regular field with a SELECT
>
> For example, like this :
>
>   NAME towns
>   DATA "SELECT ROWID as msFID, * FROM towns"
>   CONNECTIONTYPE OGR
>   CONNECTION "./data/db.sqlite"
>   METADATA
> "ows_title" "towns"
> "wfs_featureid" "msFID"
> "gml_exclude_items" "msFID"
> "gml_include_items" "all"
> "gml_types" "auto"
>   END
>
> Even
>
> --
> Spatialys - Geospatial professional services
> http://www.spatialys.com



-- 
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] feature_id not found as wfs feature_id in a spatialite db

2016-07-18 Thread Even Rouault
Andrea,

> I like to understand why mapserver seem don't recognize a field that
> is primary key as feature_id field.

The issue is that PK_UID is recognized by OGR as the field for the OGR 
featureid and thus not exposed as an item to MapServer. One way to workaround 
this is to make the PK_UID field available as a regular field with a SELECT

For example, like this :

  NAME towns
  DATA "SELECT ROWID as msFID, * FROM towns"
  CONNECTIONTYPE OGR
  CONNECTION "./data/db.sqlite"
  METADATA
"ows_title" "towns"
"wfs_featureid" "msFID"
"gml_exclude_items" "msFID"
"gml_include_items" "all"
"gml_types" "auto"
  END

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] feature_id not found as wfs feature_id in a spatialite db

2016-07-18 Thread Andrea Peri
Hi,
I have a dataset in a spatialite and try to set a wfs 2.0.0 service.

It seem work all ok but

I have this warning:



The result of thi warning is that the gml feture as numberes as this:
.1
.2
.3

Not really beautiful.
:(



This is my mapfile setting:
  "wfs_featureid" "PK_UID"

And I verify that the PK_UID field is an integer and primary key fied
in my spatialite table.

I like to understand why mapserver seem don't recognize a field that
is primary key as feature_id field.

Any hint is welcome.
Thx,

Andrea


-- 
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users