[mapserver-users] MapCache and WMS source with Basic Auth

2013-04-12 Thread Rahkonen Jukka
Hi,

Is it possible to configure Mapcache to use a WMS source which is using http 
Basic authentication through https?  Are there some hidden/undocumented 
parameters for that or would it work simply by giving the service URL as

https://user:passw...@vmap0.tiles.osgeo.org/wms/vmap0

-Jukka Rahkonen-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Need help with shpxy centriod in template file

2013-04-12 Thread Lime, Steve D (MNIT)
The centroid in the shpxy code is very basic and not a true centroid, it's just 
the mid-point of the bounding box of shape in question. It really wouldn't need 
to be this simple I think. The computation of that value is done on the raw 
shape and converted to image coordinates. I'm guessing it's the way the 
"centroid" is computed that is causing the problem?

Steve

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Kent Richards
Sent: Sunday, March 31, 2013 1:13 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Need help with shpxy centriod in template file

When using the imagemap output in mapscript, I'm trying to get the center of 
the shapes using [shpxy precision=0 proj=image centroid=true].

Perhaps the first most obvious question is: am I misunderstanding what 
"centroid" means in this case?  I thought it meant the geometric center of the 
shape (of each shape, in this case).

I have an imagemap TEMPLATE file with this declaration:

> 
>  sh="center-"]" shape="poly" coords="[shpxy precision=0 proj=image]" 
> href="http://my.url/mypage.cfm?ID=[state]"; title="[state]" alt="[state]">


The [shpxy centroid-true...] part returns "center-x367-y128" *for each shape* 
(the raw coords are 367, 128).

367, 128 is not in the center of the image, nor in the center of most of the 
shapes.

The other shpxy declaration in the template -- for the coords attribute -- 
seems to behave as expected.

Any ideas what I'm doing wrong, or is this a bug?

I know I can rig a convoluted means to return just the polygon points and 
calculate a center of sorts myself, but I'd like to just use the mapserver 
feature if it works.

Thanks,

Kent
___
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 and WMS source with Basic Auth

2013-04-12 Thread Martin Kofahl
According to http://mapserver.org/mapcache/config.html you can simply add
the athorization header to the http section:



  



  Basic [base64_encoded value from
name,password]



  



You may use http://www.base64encode.org/ to encode your Username and
Password, written as username,password -> encodes to
dXNlcm5hbWUscGFzc3dvcmQ=, so the full configuration for this login
will be:

Basic dXNlcm5hbWUscGFzc3dvcmQ=

Matrin



2013/4/12 Rahkonen Jukka 

> Hi,
>
> Is it possible to configure Mapcache to use a WMS source which is using
> http Basic authentication through https?  Are there some
> hidden/undocumented parameters for that or would it work simply by giving
> the service URL as
>
> https://user:passw...@vmap0.tiles.osgeo.org/wms/vmap0
>
> -Jukka Rahkonen-
> ___
> 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


[mapserver-users] Data format in vector field rendering

2013-04-12 Thread Peisheng Zhao
I have a set of raster data in the format of NetCDF used for vector field 
rendering. But MapServer cannot use the data directly, and reports "Unable to 
access file. Corrupt, empty or missing file". I have to translate these NetCDF 
data into GeoTIFF, then MapServer can render this data without any problem.

MapServer document says MapServer can render vector fields based off data from 
GDAL supported raster
formats containing u and v bands. In my case, NetCDF is not working, but 
GeoTIFF is OK. Anyone has any idea about it?

Thanks.

Peisheng
  ___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Need help with shpxy centriod in template file

2013-04-12 Thread Kent Richards
Forgot to cc the list…

Thanks Steve,

The most visible problem is that the centroid values I'm getting are the same 
for all shapes in the output.  It's a United States map, and for all states in 
the result set, the "centroid" comes out to the same point, somewhere around 
Wyoming.

The rest of the output is expected:  a set of vertices for each shape that 
correctly renders the imagemap.

But, since the centroid is supposed to be a simple center of the bounding box, 
it probably won't do what I need anyway.

Thanks,

Kent


On Apr 12, 2013, at 8:40 AM, Lime, Steve D (MNIT) wrote:

> The centroid in the shpxy code is very basic and not a true centroid, it's 
> just the mid-point of the bounding box of shape in question. It really 
> wouldn't need to be this simple I think. The computation of that value is 
> done on the raw shape and converted to image coordinates. I'm guessing it's 
> the way the "centroid" is computed that is causing the problem?
> 
> Steve
> 
> -Original Message-
> From: mapserver-users-boun...@lists.osgeo.org 
> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Kent Richards
> Sent: Sunday, March 31, 2013 1:13 AM
> To: mapserver-users@lists.osgeo.org
> Subject: [mapserver-users] Need help with shpxy centriod in template file
> 
> When using the imagemap output in mapscript, I'm trying to get the center of 
> the shapes using [shpxy precision=0 proj=image centroid=true].
> 
> Perhaps the first most obvious question is: am I misunderstanding what 
> "centroid" means in this case?  I thought it meant the geometric center of 
> the shape (of each shape, in this case).
> 
> I have an imagemap TEMPLATE file with this declaration:
> 
>> 
>> > yh="y" sh="center-"]" shape="poly" coords="[shpxy precision=0 proj=image]" 
>> href="http://my.url/mypage.cfm?ID=[state]"; title="[state]" alt="[state]">
> 
> 
> The [shpxy centroid-true...] part returns "center-x367-y128" *for each shape* 
> (the raw coords are 367, 128).
> 
> 367, 128 is not in the center of the image, nor in the center of most of the 
> shapes.
> 
> The other shpxy declaration in the template -- for the coords attribute -- 
> seems to behave as expected.
> 
> Any ideas what I'm doing wrong, or is this a bug?
> 
> I know I can rig a convoluted means to return just the polygon points and 
> calculate a center of sorts myself, but I'd like to just use the mapserver 
> feature if it works.
> 
> Thanks,
> 
> Kent
> ___
> 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] Need help with shpxy centriod in template file

2013-04-12 Thread Lime, Steve D (MNIT)
Regardless of how the computation is done you shouldn't get everything in the 
same spot. That tells me the conversion from map to image coordinates isn't 
working right. You can only use the "image" projection if enough parameters 
about the extent and size of the corresponding map/image are known. What do 
your queries look like?

Steve

-Original Message-
From: Kent Richards [mailto:i...@kentrichards.net] 
Sent: Friday, April 12, 2013 11:24 AM
To: mapserver-users@lists.osgeo.org; Lime, Steve D (MNIT)
Subject: Re: [mapserver-users] Need help with shpxy centriod in template file

Forgot to cc the list...

Thanks Steve,

The most visible problem is that the centroid values I'm getting are the same 
for all shapes in the output.  It's a United States map, and for all states in 
the result set, the "centroid" comes out to the same point, somewhere around 
Wyoming.

The rest of the output is expected:  a set of vertices for each shape that 
correctly renders the imagemap.

But, since the centroid is supposed to be a simple center of the bounding box, 
it probably won't do what I need anyway.

Thanks,

Kent


On Apr 12, 2013, at 8:40 AM, Lime, Steve D (MNIT) wrote:

> The centroid in the shpxy code is very basic and not a true centroid, it's 
> just the mid-point of the bounding box of shape in question. It really 
> wouldn't need to be this simple I think. The computation of that value is 
> done on the raw shape and converted to image coordinates. I'm guessing it's 
> the way the "centroid" is computed that is causing the problem?
> 
> Steve
> 
> -Original Message-
> From: mapserver-users-boun...@lists.osgeo.org 
> [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Kent Richards
> Sent: Sunday, March 31, 2013 1:13 AM
> To: mapserver-users@lists.osgeo.org
> Subject: [mapserver-users] Need help with shpxy centriod in template file
> 
> When using the imagemap output in mapscript, I'm trying to get the center of 
> the shapes using [shpxy precision=0 proj=image centroid=true].
> 
> Perhaps the first most obvious question is: am I misunderstanding what 
> "centroid" means in this case?  I thought it meant the geometric center of 
> the shape (of each shape, in this case).
> 
> I have an imagemap TEMPLATE file with this declaration:
> 
>> 
>> > yh="y" sh="center-"]" shape="poly" coords="[shpxy precision=0 proj=image]" 
>> href="http://my.url/mypage.cfm?ID=[state]"; title="[state]" alt="[state]">
> 
> 
> The [shpxy centroid-true...] part returns "center-x367-y128" *for each shape* 
> (the raw coords are 367, 128).
> 
> 367, 128 is not in the center of the image, nor in the center of most of the 
> shapes.
> 
> The other shpxy declaration in the template -- for the coords attribute -- 
> seems to behave as expected.
> 
> Any ideas what I'm doing wrong, or is this a bug?
> 
> I know I can rig a convoluted means to return just the polygon points and 
> calculate a center of sorts myself, but I'd like to just use the mapserver 
> feature if it works.
> 
> Thanks,
> 
> Kent
> ___
> 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


[mapserver-users] Filter by date

2013-04-12 Thread Weisbender, Eric
Hello List

How would I FILTER a data set by the month and year ignoring the day.  An 
example of the field format is 1/11/2010.  I found the example below in the 
docs but I'm not quite sure how to format the filter to account for the 
slashes.  Any help is greatly appreciated.

FILTERITEM "year"
FILTER /^20[0-9][0-9]/


Thanks,
Eric

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Problems serving GeoTifs as .bil

2013-04-12 Thread Evans, James R Civ USAF ACC 84 RADES/SCZE

Hi, 
I'm having bad results trying serve elevation data from GMTED2010 geotifs as 
.bil.  On the client side, the file I get is the right size, however only the 
low byte of the 16 bit word has any values.  The high 8 bits are always zero.  
That has the effect of making all of my elevations appear to be between 0 and 
255 meters.  If I try to download the data as 32 bit tifs, it works fine.  
Unfortunately, my client app is looking for .bils.  Here's the start of my map 
file.  I'm using the MS4W latest released version.  Any help would be 
appreciated! 
Thanks, 
James 

Here's what one of my requests looks like: 
http://localhost/cgi-bin/gmted.exe?service=WMS&request=GetMap&version=1.1.1&srs=EPSG:4326&layers=GMTED&styles=&format=image/bil&width=150&height=150&bbox=-120.0,30.0,-100.0,50.0&;



Start of my Map file: 

MAP 
  NAME "GMTED" 
  EXTENT -180 -90 180 90 
  SIZE 512 512 
  UNITS DD 
  IMAGETYPE image/bil 

  PROJECTION 
"init=epsg:4326" 
  END 

  OUTPUTFORMAT 
NAME "asc" 
DRIVER "GDAL/AAIGrid" 
MIMETYPE "application/asc" 
EXTENSION "asc" 
IMAGEMODE INT16 
  END 

  OUTPUTFORMAT 
NAME "bil" 
DRIVER "GDAL/EHdr" 
MIMETYPE "image/bil" 
EXTENSION "bil" 
IMAGEMODE INT16 
  END 

  OUTPUTFORMAT 
NAME "bil16" 
DRIVER "GDAL/EHdr" 
MIMETYPE "application/bil16" 
EXTENSION "bil" 
IMAGEMODE INT16 
  END 

  OUTPUTFORMAT 
NAME "tif" 
DRIVER "GDAL/GTiff" 
MIMETYPE "image/tiff" 
EXTENSION "tif" 
IMAGEMODE FLOAT32 
  END 

  WEB 
METADATA 
  wms_title "GMTED Terrain" 
  wms_srs "EPSG:4326 EPSG:900913" 
  ows_onlineresource "http://localhost/cgi-bin/GMTED"; 
  ows_enable_request "*" 
END 
  END 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Problems serving GeoTifs as .bil

2013-04-12 Thread Jeff McKenna
A nice trick I use to test outputformats is using shp2img with the "-i"
switch, so:

  shp2img -m mine.map -o ttt.bil -map_debug 3 -i bil16


-jeff


-- 
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



On 2013-04-12 3:55 PM, Evans, James R Civ USAF ACC 84 RADES/SCZE wrote:
> 
> Hi, 
> I'm having bad results trying serve elevation data from GMTED2010 geotifs as 
> .bil.  On the client side, the file I get is the right size, however only the 
> low byte of the 16 bit word has any values.  The high 8 bits are always zero. 
>  That has the effect of making all of my elevations appear to be between 0 
> and 255 meters.  If I try to download the data as 32 bit tifs, it works fine. 
>  Unfortunately, my client app is looking for .bils.  Here's the start of my 
> map file.  I'm using the MS4W latest released version.  Any help would be 
> appreciated! 
> Thanks, 
> James 
> 
> Here's what one of my requests looks like: 
> http://localhost/cgi-bin/gmted.exe?service=WMS&request=GetMap&version=1.1.1&srs=EPSG:4326&layers=GMTED&styles=&format=image/bil&width=150&height=150&bbox=-120.0,30.0,-100.0,50.0&;
> 
> 
> 
> Start of my Map file: 
> 
> MAP 
>   NAME "GMTED" 
>   EXTENT -180 -90 180 90 
>   SIZE 512 512 
>   UNITS DD 
>   IMAGETYPE image/bil 
> 
>   PROJECTION 
> "init=epsg:4326" 
>   END 
> 
>   OUTPUTFORMAT 
> NAME "asc" 
> DRIVER "GDAL/AAIGrid" 
> MIMETYPE "application/asc" 
> EXTENSION "asc" 
> IMAGEMODE INT16 
>   END 
> 
>   OUTPUTFORMAT 
> NAME "bil" 
> DRIVER "GDAL/EHdr" 
> MIMETYPE "image/bil" 
> EXTENSION "bil" 
> IMAGEMODE INT16 
>   END 
> 
>   OUTPUTFORMAT 
> NAME "bil16" 
> DRIVER "GDAL/EHdr" 
> MIMETYPE "application/bil16" 
> EXTENSION "bil" 
> IMAGEMODE INT16 
>   END 
> 
>   OUTPUTFORMAT 
> NAME "tif" 
> DRIVER "GDAL/GTiff" 
> MIMETYPE "image/tiff" 
> EXTENSION "tif" 
> IMAGEMODE FLOAT32 
>   END 
> 
>   WEB 
> METADATA 
>   wms_title "GMTED Terrain" 
>   wms_srs "EPSG:4326 EPSG:900913" 
>   ows_onlineresource "http://localhost/cgi-bin/GMTED"; 
>   ows_enable_request "*" 
> END 
>   END 
> 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Problems serving GeoTifs as .bil

2013-04-12 Thread James_in_Utah
Hi Jeff, 
Thanks for the reply.  That seemed to put out a perfectly valid .bil file. 
I then thought there might be something wrong with me GMTED2010 samples.  I
made a new set, using only one sample geotiff that comes with the World Wind
Java SDK for the Crater Lake area.  I modified my map file to only look for
that area, and it worked just fine.  Here's what gdalinfo says about that
working sample:

Driver: GTiff/GeoTIFF
Files: craterlake-elev-16bit-30m.tif
Size is 429, 279
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223560493,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (-122.165582686187900,42.979451627831743)
Pixel Size = (0.000269965978544,-0.000269965978544)
Metadata:
  AREA_OR_POINT=Point
  TIFFTAG_MAXSAMPLEVALUE=1880
  TIFFTAG_MINSAMPLEVALUE=1289
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (-122.1655827,  42.9794516) (122d 9'56.10"W, 42d58'46.03"N)
Lower Left  (-122.1655827,  42.9041311) (122d 9'56.10"W, 42d54'14.87"N)
Upper Right (-122.0497673,  42.9794516) (122d 2'59.16"W, 42d58'46.03"N)
Lower Right (-122.0497673,  42.9041311) (122d 2'59.16"W, 42d54'14.87"N)
Center  (-122.1076750,  42.9417914) (122d 6'27.63"W, 42d56'30.45"N)
Band 1 Block=429x1 Type=Int16, ColorInterp=Gray


Here's the gdalinfo on the one of the files that does not work:
Driver: GTiff/GeoTIFF
Files: 30n120w_20101117_gmted_bln300.tif
Size is 3600, 2400
Coordinate System is:
GEOGCS["WGS 84",
DATUM["WGS_1984",
SPHEROID["WGS 84",6378137,298.257223563,
AUTHORITY["EPSG","7030"]],
AUTHORITY["EPSG","6326"]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433],
AUTHORITY["EPSG","4326"]]
Origin = (-120.0001380,49.9998609)
Pixel Size = (0.008,-0.008)
Metadata:
  AREA_OR_POINT=Area
Image Structure Metadata:
  INTERLEAVE=BAND
Corner Coordinates:
Upper Left  (-120.0001389,  49.9998611) (120d 0' 0.50"W, 49d59'59.50"N)
Lower Left  (-120.0001389,  29.9998611) (120d 0' 0.50"W, 29d59'59.50"N)
Upper Right ( -90.0001389,  49.9998611) ( 90d 0' 0.50"W, 49d59'59.50"N)
Lower Right ( -90.0001389,  29.9998611) ( 90d 0' 0.50"W, 29d59'59.50"N)
Center  (-105.0001389,  39.9998611) (105d 0' 0.50"W, 39d59'59.50"N)
Band 1 Block=3600x1 Type=Int16, ColorInterp=Gray
  NoData Value=-32768

I'm not really sure why the GMTED files produce bad results.  I'll do more
checking on the USDA site.
Thanks,
James





--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Problems-serving-GeoTifs-as-bil-tp5046467p5046522.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] WFS on a view from a spatialite source

2013-04-12 Thread aperi2007

Hi,

I'm try-ing to start a wfs service using a spatialite db as datasosurce.
It work if I use a table.

But using a spatial view it don't seem work
It return a GML Bound NULL.

I don't know if I'm wrong to set it.

There is any on that as successfully use a spatial view of spatialite as 
datasource for wfs ?


Thx,

Andrea Peri

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WFS on a view from a spatialite source

2013-04-12 Thread pcreso
Hi Andrea,

I'm not a spatialite user (more Postgis), but you may need to create an entry 
in the geometry_columns table that describes the view for mapserver to be able 
to access it.


Brent Wood


--- On Sat, 4/13/13, aperi2007  wrote:

From: aperi2007 
Subject: [mapserver-users] WFS on a view from a spatialite source
To: mapserver-users@lists.osgeo.org
Date: Saturday, April 13, 2013, 11:17 AM

Hi,

I'm try-ing to start a wfs service using a spatialite db as datasosurce.
It work if I use a table.

But using a spatial view it don't seem work
It return a GML Bound NULL.

I don't know if I'm wrong to set it.

There is any on that as successfully use a spatial view of spatialite as 
datasource for wfs ?

Thx,

Andrea Peri

___
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] WFS on a view from a spatialite source

2013-04-12 Thread Andrea Peri
Hi,
thx for reply.

I check your hint.
As readable from spatialite documentation a spatial view seem need to
registered on a special geometry column named:

views_geometry_columns

I add the view to this table but still the wfs seem don't understand any.

This is what it return:

http://mapserver.gis.umn.edu/mapserver
http://www502.regione.toscana.it/cartografia/wmsraster/com.rt.wms.RTmap/wms?map=wmstest&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=v_lista_comuni_ordered_prov_com&OUTPUTFORMAT=text/xml;%20subtype=gml/3.1.1
http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";>

  missing





2013/4/13 

> Hi Andrea,
>
> I'm not a spatialite user (more Postgis), but you may need to create an
> entry in the geometry_columns table that describes the view for mapserver
> to be able to access it.
>
>
> Brent Wood
>
>
> --- On *Sat, 4/13/13, aperi2007 * wrote:
>
>
> From: aperi2007 
> Subject: [mapserver-users] WFS on a view from a spatialite source
> To: mapserver-users@lists.osgeo.org
> Date: Saturday, April 13, 2013, 11:17 AM
>
> Hi,
>
> I'm try-ing to start a wfs service using a spatialite db as datasosurce.
> It work if I use a table.
>
> But using a spatial view it don't seem work
> It return a GML Bound NULL.
>
> I don't know if I'm wrong to set it.
>
> There is any on that as successfully use a spatial view of spatialite as
> datasource for wfs ?
>
> Thx,
>
> Andrea Peri
>
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


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


Re: [mapserver-users] WFS on a view from a spatialite source

2013-04-12 Thread Andrea Peri
Hi,

googling I found this thread:
http://lists.osgeo.org/pipermail/gdal-dev/2011-April/028373.html

as reported in it seem that to see the spatialite view need to set the

SQLITE_LIST_ALL_TABLES

parameter.

Is this kind of sqlite/spatialite parameters settable for an ogr
connection inside a mafile ?

Thx




2013/4/13 Andrea Peri 

> Hi,
> thx for reply.
>
> I check your hint.
> As readable from spatialite documentation a spatial view seem need to
> registered on a special geometry column named:
>
> views_geometry_columns
>
> I add the view to this table but still the wfs seem don't understand any.
>
> This is what it return:
>
>  xsi:schemaLocation="http://mapserver.gis.umn.edu/mapserver
> http://www502.regione.toscana.it/cartografia/wmsraster/com.rt.wms.RTmap/wms?map=wmstest&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=v_lista_comuni_ordered_prov_com&OUTPUTFORMAT=text/xml;%20subtype=gml/3.1.1
> http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd";>
> 
>   missing
> 
> 
>
>
>
> 2013/4/13 
>
> Hi Andrea,
>>
>> I'm not a spatialite user (more Postgis), but you may need to create an
>> entry in the geometry_columns table that describes the view for mapserver
>> to be able to access it.
>>
>>
>> Brent Wood
>>
>>
>> --- On *Sat, 4/13/13, aperi2007 * wrote:
>>
>>
>> From: aperi2007 
>> Subject: [mapserver-users] WFS on a view from a spatialite source
>> To: mapserver-users@lists.osgeo.org
>> Date: Saturday, April 13, 2013, 11:17 AM
>>
>> Hi,
>>
>> I'm try-ing to start a wfs service using a spatialite db as datasosurce.
>> It work if I use a table.
>>
>> But using a spatial view it don't seem work
>> It return a GML Bound NULL.
>>
>> I don't know if I'm wrong to set it.
>>
>> There is any on that as successfully use a spatial view of spatialite as
>> datasource for wfs ?
>>
>> Thx,
>>
>> Andrea Peri
>>
>> ___
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
>
>
> --
> -
> Andrea Peri
> . . . . . . . . .
> qwerty àèìòù
> -
>



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