From ckaiser at cct.lsu.edu Mon Feb 1 08:06:26 2016
From: ckaiser at cct.lsu.edu (Carola Kaiser)
Date: Mon, 1 Feb 2016 10:06:26 -0600
Subject: [mapserver-users] How can I get a customized MapCache folder
structure with several dimensions as subfolders
Message-ID: <074001d15d0a$80d98450$828c8cf0$@cct.lsu.edu>
Hello,
I am using MapServer 7.0 with MapCache and would like to customize the cache
storage directory structure by using several dimensions as subfolders.
The goal is to get a cache folder structure like:
C:/ms4w/tmp/ms_tmp/cache/{YEAR}/{MONTH}/{DAY}/{z}/{y}/{x}.{ext}
Here is what I have tried in my mapcache.xml file:
1. Use the absolute path
C:/ms4w/tmp/ms_tmp/cache/
diskWGS84PNG^[0-9]{4}$^[0-9]{2}$^[0-9]{2}$
This works pretty nice but the final folder structure is:
C:/ms4w/tmp/ms_tmp/cache/test/WGS84/{YEAR}/{MONTH}/{DAY}/{z}/{y}/{x}.{ext}
How can I get rid of the test/WGS84 folders?
2. Use the cache template tag
C:/ms4w/tmp/ms_tmp/cache/{YEAR}/{MONTH}/{DAY}/{z}/{y}/{x}.{ext}
diskWGS84PNG^[0-9]{4}$^[0-9]{2}$^[0-9]{2}$
The template does only allow me to concatenate all dimensions like
{YEAR}_{MONTH}_{DAY} but not to create a subfolder name from each dimension:
/{YEAR}/{MONTH}/{DAY}/
Is it possible to customize the cache folder structure and how can I achieve
this? Any help is very much appreciated!
Thanks!
Carola
~~~~~~~~~~~~~~~~~~~~~~~~~~
Carola Kaiser, IT Consultant & GIS specialist
Center for Computation & Technology
Louisiana State University
e-mail: ckaiser at cct.lsu.edu
CERA: http://coastalemergency.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From thomas.bonfort at gmail.com Mon Feb 1 11:20:06 2016
From: thomas.bonfort at gmail.com (thomas bonfort)
Date: Mon, 1 Feb 2016 20:20:06 +0100
Subject: [mapserver-users] How can I get a customized MapCache folder
structure with several dimensions as subfolders
In-Reply-To: <074001d15d0a$80d98450$828c8cf0$@cct.lsu.edu>
References: <074001d15d0a$80d98450$828c8cf0$@cct.lsu.edu>
Message-ID:
Carola,
If you are willing to try out the master branch you can specify the keys in
the disk template as {dim:dimname}, I.e. in your case:
/path/{dim:year}/{dim:month}/etc..
Make sure to read the migration-guide.txt as the syntax to define
dimensions has changed a little.
--
Thomas
On Feb 1, 2016 12:33 PM, "Carola Kaiser" wrote:
> Hello,
>
>
>
> I am using MapServer 7.0 with MapCache and would like to customize the
> cache storage directory structure by using several dimensions as subfolders.
>
> The goal is to get a cache folder structure like:
>
> C:/ms4w/tmp/ms_tmp/cache/{YEAR}/{MONTH}/{DAY}/{z}/{y}/{x}.{ext}
>
>
>
> Here is what I have tried in my mapcache.xml file:
>
> 1. Use the absolute path
>
>
>
>
>
> C:/ms4w/tmp/ms_tmp/cache/
>
>
>
>
>
>
>
>
>
>
>
>
>
> disk
>
> WGS84
>
> PNG
>
>
>
> default="2016">^[0-9]{4}$
>
> default="00">^[0-9]{2}$
>
> default="00">^[0-9]{2}$
>
>
>
>
>
>
>
> This works pretty nice but the final folder structure is:
>
> C:/ms4w/tmp/ms_tmp/cache/test/WGS84/{YEAR}/{MONTH}/{DAY}/{z}/{y}/{x}.{ext}
>
> How can I get rid of the test/WGS84 folders?
>
>
>
> 2. Use the cache template tag
>
>
>
>
>
>
> C:/ms4w/tmp/ms_tmp/cache/{YEAR}/{MONTH}/{DAY}/{z}/{y}/{x}.{ext}
>
>
>
>
>
>
>
>
>
>
>
>
>
> disk
>
> WGS84
>
> PNG
>
>
>
> default="2016">^[0-9]{4}$
>
> default="00">^[0-9]{2}$
>
> default="00">^[0-9]{2}$
>
>
>
>
>
>
>
> The template does only allow me to concatenate all dimensions like
> {YEAR}_{MONTH}_{DAY} but not to create a subfolder name from each dimension:
>
> /{YEAR}/{MONTH}/{DAY}/
>
>
>
> Is it possible to customize the cache folder structure and how can I
> achieve this? Any help is very much appreciated!
>
>
>
> Thanks!
>
> Carola
>
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> Carola Kaiser, IT Consultant & GIS specialist
>
> Center for Computation & Technology
>
> Louisiana State University
>
> e-mail: ckaiser at cct.lsu.edu
>
> CERA: http://coastalemergency.org
>
>
>
>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From MarkVolz at co.lyon.mn.us Mon Feb 1 12:39:24 2016
From: MarkVolz at co.lyon.mn.us (Mark Volz)
Date: Mon, 1 Feb 2016 20:39:24 +0000
Subject: [mapserver-users] File GDB performance vs Shapefile Performance
Message-ID: <36CA828A36E29F45B7CF0A1766E5DFA346C2123A@swmail01.r8nssis.local>
Hello,
My interactive mapping application is currently using Shapefiles to store the contour lines. At 1.5 GB the Shapefiles are rather large. Instead I am considering using a File Geodatabase which will only take up about 500 MB.
Is there a significant performance loss between Shapefiles and File Geodatabases? And are there any performance tips and tricks for using File Geodatabases?
Thanks
Sincerely,
Mark Volz, GISP
Lyon County GIS Coordinator
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jmckenna at gatewaygeomatics.com Mon Feb 1 12:17:36 2016
From: jmckenna at gatewaygeomatics.com (Jeff McKenna)
Date: Mon, 1 Feb 2016 16:17:36 -0400
Subject: [mapserver-users] How can I get a customized MapCache folder
structure with several dimensions as subfolders
In-Reply-To:
References: <074001d15d0a$80d98450$828c8cf0$@cct.lsu.edu>
Message-ID: <56AFBD60.4000407@gatewaygeomatics.com>
Hi Carola,
MS4W builds contain MapCache 1.4.0 (released in July). The next MS4W
release will include MapCache-master, but in fact we've recently been
hitting a compiler error with MapCache-master.
You can follow along this progress, in the associated MapCache ticket
(https://github.com/mapserver/mapcache/issues/139) as well as the MS4W
ticket for adding this support (http://ms4w.com/trac/ticket/39).
Thanks,
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
On 2016-02-01 3:20 PM, thomas bonfort wrote:
> Carola,
>
> If you are willing to try out the master branch you can specify the keys
> in the disk template as {dim:dimname}, I.e. in your case:
>
> /path/{dim:year}/{dim:month}/etc..
>
> Make sure to read the migration-guide.txt as the syntax to define
> dimensions has changed a little.
>
> --
> Thomas
>
> On Feb 1, 2016 12:33 PM, "Carola Kaiser" > wrote:
>
> Hello,____
>
> __ __
>
> I am using MapServer 7.0 with MapCache and would like to customize
> the cache storage directory structure by using several dimensions as
> subfolders.____
>
> The goal is to get a cache folder structure like:____
>
> C:/ms4w/tmp/ms_tmp/cache/{YEAR}/{MONTH}/{DAY}/{z}/{y}/{x}.{ext}____
>
> __ __
>
> Here is what I have tried in my mapcache.xml file:____
>
> __1.__Use the absolute path____
>
> __ __
>
> ____
>
> C:/ms4w/tmp/ms_tmp/cache/____
>
> ____
>
> ____
>
> ____
>
> ____
>
> ____
>
> ____
>
> disk____
>
> WGS84____
>
> PNG____
>
> ____
>
> default="2016">^[0-9]{4}$____
>
> default="00">^[0-9]{2}$____
>
> default="00">^[0-9]{2}$____
>
> ____
>
> ____
>
> __ __
>
> This works pretty nice but the final folder structure is:____
>
> C:/ms4w/tmp/ms_tmp/cache/test/WGS84/{YEAR}/{MONTH}/{DAY}/{z}/{y}/{x}.{ext}____
>
> How can I get rid of the test/WGS84 folders?____
>
> __ __
>
> __2.__Use the cache template tag____
>
> __ __
>
> ____
>
>
> C:/ms4w/tmp/ms_tmp/cache/{YEAR}/{MONTH}/{DAY}/{z}/{y}/{x}.{ext}____
>
> ____
>
> ____
>
> ____
>
> ____
>
> ____
>
> ____
>
> disk____
>
> WGS84____
>
> PNG____
>
> ____
>
> default="2016">^[0-9]{4}$____
>
> default="00">^[0-9]{2}$____
>
> default="00">^[0-9]{2}$____
>
> ____
>
> ____
>
> __ __
>
> The template does only allow me to concatenate all dimensions like
> {YEAR}_{MONTH}_{DAY} but not to create a subfolder name from each
> dimension:____
>
> /{YEAR}/{MONTH}/{DAY}/____
>
> __ __
>
> Is it possible to customize the cache folder structure and how can I
> achieve this? Any help is very much appreciated!____
>
> __ __
>
> Thanks!____
>
> Carola____
>
> __ __
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~____
>
> Carola Kaiser, IT Consultant & GIS specialist____
>
> Center for Computation & Technology____
>
> Louisiana State University____
>
> e-mail: ckaiser at cct.lsu.edu ____
>
> CERA: http://coastalemergency.org____
>
> __ __
>
> __ __
>
From smercier at mapgears.com Mon Feb 1 13:18:49 2016
From: smercier at mapgears.com (Simon Mercier)
Date: Mon, 1 Feb 2016 16:18:49 -0500
Subject: [mapserver-users] File GDB performance vs Shapefile Performance
In-Reply-To: <36CA828A36E29F45B7CF0A1766E5DFA346C2123A@swmail01.r8nssis.local>
References: <36CA828A36E29F45B7CF0A1766E5DFA346C2123A@swmail01.r8nssis.local>
Message-ID: <56AFCBB9.1000600@mapgears.com>
you should try tile4ms or ogrtindex instead of using ogr connection.
http://mapserver.org/utilities/tile4ms.html
http://www.gdal.org/ogrtindex.html
simon
On 2/1/2016 3:39 PM, Mark Volz wrote:
>
> Hello,
>
> My interactive mapping application is currently using Shapefiles to
> store the contour lines. At 1.5 GB the Shapefiles are rather large.
> Instead I am considering using a File Geodatabase which will only take
> up about 500 MB.
>
> Is there a significant performance loss between Shapefiles and File
> Geodatabases? And are there any performance tips and tricks for using
> File Geodatabases?
>
> Thanks
>
> Sincerely,
>
> *Mark Volz, GISP*
>
> *Lyon County GIS Coordinator*
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
--
Simon Mercier
mapgears.com
Quebec: +1 418.476.7139 #101
Toll Free: +1 888.696.5056 #101
evouala.com - Location Intelligence Made Easy
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From Steve.Lime at state.mn.us Mon Feb 1 13:27:27 2016
From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT))
Date: Mon, 1 Feb 2016 21:27:27 +0000
Subject: [mapserver-users] File GDB performance vs Shapefile Performance
In-Reply-To: <36CA828A36E29F45B7CF0A1766E5DFA346C2123A@swmail01.r8nssis.local>
References: <36CA828A36E29F45B7CF0A1766E5DFA346C2123A@swmail01.r8nssis.local>
Message-ID:
You'll really just have to test side-by-side see. I've only done anecdotal testing with more moderate-size layers and found file geodatabases to be about twice as slow as a shapefile. Maybe others have done more rigorous benchmarking.
MapServer 7.0
ESRI FileGDB API 1.2
GDAL 1.11.2
Steve
From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Mark Volz
Sent: Monday, February 01, 2016 2:39 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] File GDB performance vs Shapefile Performance
Hello,
My interactive mapping application is currently using Shapefiles to store the contour lines. At 1.5 GB the Shapefiles are rather large. Instead I am considering using a File Geodatabase which will only take up about 500 MB.
Is there a significant performance loss between Shapefiles and File Geodatabases? And are there any performance tips and tricks for using File Geodatabases?
Thanks
Sincerely,
Mark Volz, GISP
Lyon County GIS Coordinator
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From edmar.moretti at gmail.com Tue Feb 2 04:48:18 2016
From: edmar.moretti at gmail.com (Moretti Edmar)
Date: Tue, 2 Feb 2016 10:48:18 -0200
Subject: [mapserver-users] Remove CLUSTER definition
Message-ID:
How do I remove the CLUSTER definition of a mapfile using PHP-MapScript?
I try to use the code below, but without success
$cluster = $layer->cluster;
$cluster->updateFromString("GROUP END");
--
Para tirar d?vidas sobre o i3Geo utilize a lista:
https://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo
Edmar Moretti
http://www.edmarmoretti.com.br
Skype: edmar.moretti
gTalk: edmar.moretti
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From pedrongvenancio at gmail.com Tue Feb 2 04:49:02 2016
From: pedrongvenancio at gmail.com (=?UTF-8?Q?Pedro_Ven=C3=A2ncio?=)
Date: Tue, 2 Feb 2016 12:49:02 +0000
Subject: [mapserver-users] Change the distance of GRID labels from
margins
In-Reply-To:
References:
Message-ID:
Hi Ambrogio,
Thanks for the help! I used a combination of the OFFSET and POSITION. With
that, the X coordinate is relatively well adjusted at the top north and
south . However, for the Y coordinate, I just can adjust for the left or
the right margin, because if I offset for the left, the left coordinate
label is sectioned. We can not hide the coordinates of some of the sides,
right? For example, for Y coordinate only appear on the right side?
Best regards!
Pedro
No dia s?bado, 30 de janeiro de 2016, Ambrogio Foletti
escreveu:
> Hello Pedro,
>
> you can set an OFFSET for the LABEL.
> If you want the label to be further into the map, set it to
> OFFSET 0 -X
> where X is the number that seals the deal for you :)
>
> Cheers,
> A. Foletti
>
> 2016-01-21 22:45 GMT+01:00 Pedro Ven?ncio :
>
>> Hi,
>>
>> Is there any way to set the distance of the GRID [0] labels, so that the
>> labels be more spaced from the map margins?
>>
>> [0] http://mapserver.org/mapfile/grid.html
>>
>> I would like to have the coordinates further into the interior of the map.
>>
>> Thank you very much!
>>
>> Best regards,
>> Pedro
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From szekerest at gmail.com Tue Feb 2 07:30:03 2016
From: szekerest at gmail.com (Tamas Szekeres)
Date: Tue, 2 Feb 2016 16:30:03 +0100
Subject: [mapserver-users] Remove CLUSTER definition
In-Reply-To:
References:
Message-ID:
Looks like you need to set the following default parameters to prevent from
writing to the mapfile:
cluster->maxdistance == 10 &&
cluster->buffer == 0.0 &&
cluster->region == NULL &&
cluster->group.string == NULL &&
cluster->filter.string == NULL
Best regards,
Tamas
2016-02-02 13:48 GMT+01:00 Moretti Edmar :
> How do I remove the CLUSTER definition of a mapfile using PHP-MapScript?
> I try to use the code below, but without success
>
> $cluster = $layer->cluster;
> $cluster->updateFromString("GROUP END");
>
> --
> Para tirar d?vidas sobre o i3Geo utilize a lista:
> https://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo
>
> Edmar Moretti
> http://www.edmarmoretti.com.br
> Skype: edmar.moretti
> gTalk: edmar.moretti
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From ckaiser at cct.lsu.edu Tue Feb 2 07:47:33 2016
From: ckaiser at cct.lsu.edu (Carola Kaiser)
Date: Tue, 2 Feb 2016 09:47:33 -0600
Subject: [mapserver-users] How can I get a customized MapCache folder
structure with several dimensions as subfolders
In-Reply-To:
References: <074001d15d0a$80d98450$828c8cf0$@cct.lsu.edu>
Message-ID: <0a3a01d15dd1$08331ad0$18995070$@cct.lsu.edu>
Thomas,
Thank you for getting back to me! These new features are exactly what I need. I will definitely give the new version a try.
Thanks!
Carola
~~~~~~~~~~~~~~~~~~~~~~~~~~
Carola Kaiser, IT Consultant & GIS specialist
Center for Computation & Technology
Louisiana State University
e-mail: ckaiser at cct.lsu.edu
CERA: http://coastalemergency.org
From: thomas bonfort [mailto:thomas.bonfort at gmail.com]
Sent: Monday, February 1, 2016 1:20 PM
To: Carola Kaiser
Cc: MapserverList OSGEO
Subject: Re: [mapserver-users] How can I get a customized MapCache folder structure with several dimensions as subfolders
Carola,
If you are willing to try out the master branch you can specify the keys in the disk template as {dim:dimname}, I.e. in your case:
/path/{dim:year}/{dim:month}/etc..
Make sure to read the migration-guide.txt as the syntax to define dimensions has changed a little.
--
Thomas
On Feb 1, 2016 12:33 PM, "Carola Kaiser" > wrote:
Hello,
I am using MapServer 7.0 with MapCache and would like to customize the cache storage directory structure by using several dimensions as subfolders.
The goal is to get a cache folder structure like:
C:/ms4w/tmp/ms_tmp/cache/{YEAR}/{MONTH}/{DAY}/{z}/{y}/{x}.{ext}
Here is what I have tried in my mapcache.xml file:
1. Use the absolute path
C:/ms4w/tmp/ms_tmp/cache/
diskWGS84PNG^[0-9]{4}$^[0-9]{2}$^[0-9]{2}$
This works pretty nice but the final folder structure is:
C:/ms4w/tmp/ms_tmp/cache/test/WGS84/{YEAR}/{MONTH}/{DAY}/{z}/{y}/{x}.{ext}
How can I get rid of the test/WGS84 folders?
2. Use the cache template tag
C:/ms4w/tmp/ms_tmp/cache/{YEAR}/{MONTH}/{DAY}/{z}/{y}/{x}.{ext}
diskWGS84PNG^[0-9]{4}$^[0-9]{2}$^[0-9]{2}$
The template does only allow me to concatenate all dimensions like {YEAR}_{MONTH}_{DAY} but not to create a subfolder name from each dimension:
/{YEAR}/{MONTH}/{DAY}/
Is it possible to customize the cache folder structure and how can I achieve this? Any help is very much appreciated!
Thanks!
Carola
~~~~~~~~~~~~~~~~~~~~~~~~~~
Carola Kaiser, IT Consultant & GIS specialist
Center for Computation & Technology
Louisiana State University
e-mail: ckaiser at cct.lsu.edu
CERA: http://coastalemergency.org
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From support at geo6.be Tue Feb 2 07:41:55 2016
From: support at geo6.be (Geo-6)
Date: Tue, 2 Feb 2016 16:41:55 +0100
Subject: [mapserver-users] SIZEUNITS meters and LABEL size
Message-ID: <004601d15dd0$3ed237c0$bc76a740$@geo6.be>
Hi everyone,
I'm struggling with SIZEUNITS meters and LABEL size on a "line" layer.
Here is a copy of the LAYER :
LAYER
NAME "MajHwys"
TYPE LINE
STATUS ON
DATA "./MajHwys"
PROJECTION
"init=epsg:4326"
END
SIZEUNITS meters
LABELITEM "HIGHWAY_NM"
CLASSITEM "FUNC_CLASS"
CLASS
EXPRESSION "1"
MINSCALEDENOM 35000.0
STYLE
COLOR 224 224 224
WIDTH 30.0
END # STYLE
LABEL
TYPE truetype
FONT "sc"
ENCODING UTF-8
COLOR 128 128 128
OUTLINECOLOR 255 255 255
SIZE 36.0
PARTIALS FALSE
END # LABEL
END # CLASS
END # LAYER
The line is drawn correctly in meters but, although the documentation
specify that the LABEL SIZE is defined in pixels for TrueType
(http://mapserver.org/mapfile/label.html#size), I can?t change the size of
my LABEL?s. The LABEL SIZE seems to ? follow ? the WIDTH of my line.
I tried MINSIZE, MAXSIZE, MINWIDTH, and MAXWIDTH but can?t figure out what?s
wrong in my mapfile.
Does anyone have any idea that can fix my problem ?
Thanks a lot.
PS : I use MapServer 7.0.0
Jonathan Beli?n
GEO-6
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From schepers at rvr-online.de Tue Feb 2 08:22:46 2016
From: schepers at rvr-online.de (Schepers, Benjamin)
Date: Tue, 2 Feb 2016 16:22:46 +0000
Subject: [mapserver-users] File GDB performance vs Shapefile Performance
In-Reply-To:
References: <36CA828A36E29F45B7CF0A1766E5DFA346C2123A@swmail01.r8nssis.local>
Message-ID: <7088A26751CB34409B159B4237D510A832F732B7@W2K8-EXDB02.VERBAND.LOCAL>
I generally agree with Steve, shapes (with spatial index) are in my experience the fastest - with all their disadvantages in datamanagement.
It could be reasoned by the massive use of compression of attributes in filegdb-format. Comparing the filesizes, filegdbs produce significant smaller sizes (maybe just 10% of a shape).
I often use sqlite/spatialite as "open" alternative to filegdb which seems to be a bit faster than fgdb and also has the benefits of a filebased db (as fgdb), maybe you should give it a try?
Regards
Ben
Luftbild und Geoinformationssysteme
Kronprinzenstra?e 35
45128 Essen
schepers at rvr-online.de
[cid:image001.jpg at 01D15DDE.0C871FC0]
Von: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Im Auftrag von Lime, Steve D (MNIT)
Gesendet: Montag, 1. Februar 2016 22:27
An: Mark Volz; mapserver-users at lists.osgeo.org
Betreff: Re: [mapserver-users] File GDB performance vs Shapefile Performance
You'll really just have to test side-by-side see. I've only done anecdotal testing with more moderate-size layers and found file geodatabases to be about twice as slow as a shapefile. Maybe others have done more rigorous benchmarking.
MapServer 7.0
ESRI FileGDB API 1.2
GDAL 1.11.2
Steve
From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Mark Volz
Sent: Monday, February 01, 2016 2:39 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] File GDB performance vs Shapefile Performance
Hello,
My interactive mapping application is currently using Shapefiles to store the contour lines. At 1.5 GB the Shapefiles are rather large. Instead I am considering using a File Geodatabase which will only take up about 500 MB.
Is there a significant performance loss between Shapefiles and File Geodatabases? And are there any performance tips and tricks for using File Geodatabases?
Thanks
Sincerely,
Mark Volz, GISP
Lyon County GIS Coordinator
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 8303 bytes
Desc: image001.jpg
URL:
From edmar.moretti at gmail.com Wed Feb 3 17:14:33 2016
From: edmar.moretti at gmail.com (Moretti Edmar)
Date: Wed, 3 Feb 2016 23:14:33 -0200
Subject: [mapserver-users] Remove CLUSTER definition
In-Reply-To:
References:
Message-ID:
I used your suggestion but did not work as expected.
I used PHP to create the cluster on a Layer. After creation, the mapfile
contains the code:
CLUSTER
MAXDISTANCE 5
REGION "rectangle"
GROUP ('[TIPO]')
END # CLUSTER
After applying your sugestion, the mapfile looks like
CLUSTER
REGION ""
END # CLUSTER
but the Cluster still remains, now with the default values
My PHP to remove cluster:
$cluster->setFilter(NULL);
$cluster->setGroup(NULL);
$cluster->maxdistance = 10;
$cluster->region = NULL;
Any idea?
Thank you for your help.
2016-02-02 13:30 GMT-02:00 Tamas Szekeres :
> Looks like you need to set the following default parameters to prevent
> from writing to the mapfile:
>
> cluster->maxdistance == 10 &&
> cluster->buffer == 0.0 &&
> cluster->region == NULL &&
> cluster->group.string == NULL &&
> cluster->filter.string == NULL
>
> Best regards,
>
> Tamas
>
>
>
> 2016-02-02 13:48 GMT+01:00 Moretti Edmar :
>
>> How do I remove the CLUSTER definition of a mapfile using PHP-MapScript?
>> I try to use the code below, but without success
>>
>> $cluster = $layer->cluster;
>> $cluster->updateFromString("GROUP END");
>>
>> --
>> Para tirar d?vidas sobre o i3Geo utilize a lista:
>> https://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo
>>
>> Edmar Moretti
>> http://www.edmarmoretti.com.br
>> Skype: edmar.moretti
>> gTalk: edmar.moretti
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>
>
--
Para tirar d?vidas sobre o i3Geo utilize a lista:
https://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo
Edmar Moretti
http://www.edmarmoretti.com.br
Skype: edmar.moretti
gTalk: edmar.moretti
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From pedrocostaarma at sapo.pt Thu Feb 4 07:11:22 2016
From: pedrocostaarma at sapo.pt (pedrocostaarma at sapo.pt)
Date: Thu, 04 Feb 2016 15:11:22 +0000
Subject: [mapserver-users] compiling mapserver on ubuntu server
Message-ID: <20160204151122.Horde.ZQOp_i0_D2DzK6cDQb37SsN@mail.sapo.pt>
Hi guys,
I want install last mapserver stable release (7) on ubuntu server.
Current there are no repo with binaries right?
Can someone point to me a good tutorial for compiling?
Thanks
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From Steve.Toutant at inspq.qc.ca Thu Feb 4 07:31:10 2016
From: Steve.Toutant at inspq.qc.ca (Steve.Toutant at inspq.qc.ca)
Date: Thu, 4 Feb 2016 10:31:10 -0500
Subject: [mapserver-users] RE compiling mapserver on ubuntu server
In-Reply-To: <20160204151122.Horde.ZQOp_i0_D2DzK6cDQb37SsN@mail.sapo.pt>
References: <20160204151122.Horde.ZQOp_i0_D2DzK6cDQb37SsN@mail.sapo.pt>
Message-ID:
Mapserver doc
http://mapserver.org/installation/unix.html
pedrocostaarma at sapo.pt@lists.osgeo.org
Envoy? par : "mapserver-users"
2016-02-04 10:11
A
mapserver-users at lists.osgeo.org
cc
Objet
[mapserver-users] compiling mapserver on ubuntu server
Hi guys,
I want install last mapserver stable release (7) on ubuntu server.
Current there are no repo with binaries right?
Can someone point to me a good tutorial for compiling?
Thanks
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bob.basques at ci.stpaul.mn.us Thu Feb 4 07:50:51 2016
From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul))
Date: Thu, 4 Feb 2016 15:50:51 +0000
Subject: [mapserver-users] WMS call with layer names containing a space.
Message-ID: <53CD40A7-0B52-4C79-AF44-8FA618F7203E@ci.stpaul.mn.us>
All,
I?m trying to use this WMS:
http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?
Specifically, two layers, ?Census Tracts? and ?Census Tracts Labels?
I can open the service in just about everything, except Mapserver as a WMS client. I?m assuming the problem is in how MapServer is sending it?s request.
I must be missing something obvious.
Thanks.
bobb
Call1:
http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
error:
Parameter ?layers? contains unacceptable layer names
Call2 (use ?+? for space):
http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census+Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
error:
Parameter ?layers? contains unacceptable layer names
Call3 (URL encoding ?%20? ):
http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census%20Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
error:
Parameter ?layers? contains unacceptable layer names
##Mapfile
MAP
STATUS ON
LAYER
NAME "Census Tracts"
TYPE RASTER
STATUS DEFAULT
CONNECTION "http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?"
CONNECTIONTYPE WMS
METADATA
"wms_srs" "EPSG:4326"
"wms_name" "Census Tracts"
"wms_server_version" "1.1.1"
#"wms_server_version" "1.3.0"
"wms_format" "image/png24"
"ows_title" "Census Tracts"
#"gml_include_items" "all"
END
PROJECTION
"init=epsg:4326"
END
TEMPLATE "dummy"
END #layer
##CONFIG "MS_ERRORFILE" "/tmp/trying2.txt"
##DEBUG 5
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From tchaddad at gmail.com Thu Feb 4 08:39:32 2016
From: tchaddad at gmail.com (TC Haddad)
Date: Thu, 4 Feb 2016 08:39:32 -0800
Subject: [mapserver-users] WMS call with layer names containing a space.
In-Reply-To: <53CD40A7-0B52-4C79-AF44-8FA618F7203E@ci.stpaul.mn.us>
References: <53CD40A7-0B52-4C79-AF44-8FA618F7203E@ci.stpaul.mn.us>
Message-ID:
When querying the TIGER server directly from a browser, the first and third
styles of request both work, while the option with the "+" does not. So
those are the 2 options the server will accept.
I guess Mapserver prefers no space in a name, or a "+" to designate space,
so you might be stuck.
As a best practice, they really should have the version with a space in the
Title rather than the Name, but you can't fix that from your end.
On Thu, Feb 4, 2016 at 7:50 AM, Basques, Bob (CI-StPaul) <
bob.basques at ci.stpaul.mn.us> wrote:
> All,
>
> I?m trying to use this WMS:
>
>
> http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?
>
> Specifically, two layers, ?Census Tracts? and ?Census Tracts Labels?
>
> I can open the service in just about everything, except Mapserver as a WMS
> client. I?m assuming the problem is in how MapServer is sending it?s
> request.
>
>
> I must be missing something obvious.
>
>
> Thanks.
>
> bobb
>
>
> Call1:
>
>
> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census
>
> Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
>
>
> error:
>
> Parameter ?layers? contains unacceptable layer names
>
>
>
> Call2 (use ?+? for space):
>
>
> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census+Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
>
>
> error:
>
> Parameter ?layers? contains unacceptable layer names
>
>
>
> Call3 (URL encoding ?%20? ):
>
>
> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census%20Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
>
>
>
> error:
>
> Parameter ?layers? contains unacceptable layer names
>
>
>
> ##Mapfile
>
> MAP
>
> STATUS ON
>
> LAYER
> NAME "Census Tracts"
> TYPE RASTER
> STATUS DEFAULT
>
> CONNECTION "
> http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?
> "
>
> CONNECTIONTYPE WMS
> METADATA
> "wms_srs" "EPSG:4326"
> "wms_name" "Census Tracts"
> "wms_server_version" "1.1.1"
> #"wms_server_version" "1.3.0"
> "wms_format" "image/png24"
>
> "ows_title" "Census Tracts"
> #"gml_include_items" "all"
> END
> PROJECTION
> "init=epsg:4326"
> END
>
> TEMPLATE "dummy"
> END #layer
>
> ##CONFIG "MS_ERRORFILE" "/tmp/trying2.txt"
> ##DEBUG 5
>
> END
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bob.basques at ci.stpaul.mn.us Thu Feb 4 08:44:06 2016
From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul))
Date: Thu, 4 Feb 2016 16:44:06 +0000
Subject: [mapserver-users] WMS call with layer names containing a space.
In-Reply-To:
References: <53CD40A7-0B52-4C79-AF44-8FA618F7203E@ci.stpaul.mn.us>
Message-ID: <49A8EA3E-4720-4479-A009-2A4A1306A352@ci.stpaul.mn.us>
I was hoping there might be some tricky way of fooling MapServer by encoding, etc.
bobb
On Feb 4, 2016, at 10:39 AM, TC Haddad > wrote:
When querying the TIGER server directly from a browser, the first and third styles of request both work, while the option with the "+" does not. So those are the 2 options the server will accept.
I guess Mapserver prefers no space in a name, or a "+" to designate space, so you might be stuck.
As a best practice, they really should have the version with a space in the Title rather than the Name, but you can't fix that from your end.
On Thu, Feb 4, 2016 at 7:50 AM, Basques, Bob (CI-StPaul) > wrote:
All,
I?m trying to use this WMS:
http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?
Specifically, two layers, ?Census Tracts? and ?Census Tracts Labels?
I can open the service in just about everything, except Mapserver as a WMS client. I?m assuming the problem is in how MapServer is sending it?s request.
I must be missing something obvious.
Thanks.
bobb
Call1:
http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
error:
Parameter ?layers? contains unacceptable layer names
Call2 (use ?+? for space):
http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census+Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
error:
Parameter ?layers? contains unacceptable layer names
Call3 (URL encoding ?%20? ):
http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census%20Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
error:
Parameter ?layers? contains unacceptable layer names
##Mapfile
MAP
STATUS ON
LAYER
NAME "Census Tracts"
TYPE RASTER
STATUS DEFAULT
CONNECTION "http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?"
CONNECTIONTYPE WMS
METADATA
"wms_srs" "EPSG:4326"
"wms_name" "Census Tracts"
"wms_server_version" "1.1.1"
#"wms_server_version" "1.3.0"
"wms_format" "image/png24"
"ows_title" "Census Tracts"
#"gml_include_items" "all"
END
PROJECTION
"init=epsg:4326"
END
TEMPLATE "dummy"
END #layer
##CONFIG "MS_ERRORFILE" "/tmp/trying2.txt"
##DEBUG 5
END
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From tchaddad at gmail.com Thu Feb 4 08:51:16 2016
From: tchaddad at gmail.com (TC Haddad)
Date: Thu, 4 Feb 2016 08:51:16 -0800
Subject: [mapserver-users] WMS call with layer names containing a space.
In-Reply-To: <49A8EA3E-4720-4479-A009-2A4A1306A352@ci.stpaul.mn.us>
References: <53CD40A7-0B52-4C79-AF44-8FA618F7203E@ci.stpaul.mn.us>
<49A8EA3E-4720-4479-A009-2A4A1306A352@ci.stpaul.mn.us>
Message-ID:
This came up last year and I don't know if it was ever resolved:
https://lists.osgeo.org/pipermail/mapserver-users/2014-August/076870.html
https://lists.osgeo.org/pipermail/mapserver-users/2014-August/076886.html
On Thu, Feb 4, 2016 at 8:44 AM, Basques, Bob (CI-StPaul) <
bob.basques at ci.stpaul.mn.us> wrote:
> I was hoping there might be some tricky way of fooling MapServer by
> encoding, etc.
>
> bobb
>
>
> On Feb 4, 2016, at 10:39 AM, TC Haddad wrote:
>
>
> When querying the TIGER server directly from a browser, the first and
> third styles of request both work, while the option with the "+" does not.
> So those are the 2 options the server will accept.
>
> I guess Mapserver prefers no space in a name, or a "+" to designate space,
> so you might be stuck.
>
> As a best practice, they really should have the version with a space in
> the Title rather than the Name, but you can't fix that from your end.
>
> On Thu, Feb 4, 2016 at 7:50 AM, Basques, Bob (CI-StPaul) <
> bob.basques at ci.stpaul.mn.us> wrote:
>
>> All,
>>
>> I?m trying to use this WMS:
>>
>>
>> http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?
>>
>> Specifically, two layers, ?Census Tracts? and ?Census Tracts Labels?
>>
>> I can open the service in just about everything, except Mapserver as a
>> WMS client. I?m assuming the problem is in how MapServer is sending it?s
>> request.
>>
>>
>> I must be missing something obvious.
>>
>>
>> Thanks.
>>
>> bobb
>>
>>
>> Call1:
>>
>>
>> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census
>>
>> Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
>>
>>
>> error:
>>
>> Parameter ?layers? contains unacceptable layer names
>>
>>
>>
>> Call2 (use ?+? for space):
>>
>>
>> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census+Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
>>
>>
>> error:
>>
>> Parameter ?layers? contains unacceptable layer names
>>
>>
>>
>> Call3 (URL encoding ?%20? ):
>>
>>
>> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census%20Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
>>
>>
>>
>> error:
>>
>> Parameter ?layers? contains unacceptable layer names
>>
>>
>>
>> ##Mapfile
>>
>> MAP
>>
>> STATUS ON
>>
>> LAYER
>> NAME "Census Tracts"
>> TYPE RASTER
>> STATUS DEFAULT
>>
>> CONNECTION "
>> http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?
>> "
>>
>> CONNECTIONTYPE WMS
>> METADATA
>> "wms_srs" "EPSG:4326"
>> "wms_name" "Census Tracts"
>> "wms_server_version" "1.1.1"
>> #"wms_server_version" "1.3.0"
>> "wms_format" "image/png24"
>>
>> "ows_title" "Census Tracts"
>> #"gml_include_items" "all"
>> END
>> PROJECTION
>> "init=epsg:4326"
>> END
>>
>> TEMPLATE "dummy"
>> END #layer
>>
>> ##CONFIG "MS_ERRORFILE" "/tmp/trying2.txt"
>> ##DEBUG 5
>>
>> END
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jmckenna at gatewaygeomatics.com Thu Feb 4 09:19:31 2016
From: jmckenna at gatewaygeomatics.com (Jeff McKenna)
Date: Thu, 4 Feb 2016 13:19:31 -0400
Subject: [mapserver-users] WMS call with layer names containing a space.
In-Reply-To:
References: <53CD40A7-0B52-4C79-AF44-8FA618F7203E@ci.stpaul.mn.us>
<49A8EA3E-4720-4479-A009-2A4A1306A352@ci.stpaul.mn.us>
Message-ID: <56B38823.5000105@gatewaygeomatics.com>
I was just reading a recent discussion on this, might be the same
discussion
(http://osgeo-org.1560.x6.nabble.com/Allowing-spaces-in-layer-names-WMS-WFS-td5213960.html).
Bob can you file a little test case for this (tiny mapfile, commands to
use to test), as a new ticket on the MapServer tracker?
https://github.com/mapserver/mapserver/issues I can't find an existing
ticket, so we might as well record one.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
On 2016-02-04 12:51 PM, TC Haddad wrote:
> This came up last year and I don't know if it was ever resolved:
>
> https://lists.osgeo.org/pipermail/mapserver-users/2014-August/076870.html
>
> https://lists.osgeo.org/pipermail/mapserver-users/2014-August/076886.html
>
>
> On Thu, Feb 4, 2016 at 8:44 AM, Basques, Bob (CI-StPaul)
> > wrote:
>
> I was hoping there might be some tricky way of fooling MapServer by
> encoding, etc.
>
> bobb
>
>
>> On Feb 4, 2016, at 10:39 AM, TC Haddad > > wrote:
>>
>>
>> When querying the TIGER server directly from a browser, the first
>> and third styles of request both work, while the option with the
>> "+" does not. So those are the 2 options the server will accept.
>>
>> I guess Mapserver prefers no space in a name, or a "+" to
>> designate space, so you might be stuck.
>>
>> As a best practice, they really should have the version with a
>> space in the Title rather than the Name, but you can't fix that
>> from your end.
>>
>> On Thu, Feb 4, 2016 at 7:50 AM, Basques, Bob (CI-StPaul)
>> >
>> wrote:
>>
>> All,
>>
>> I?m trying to use this WMS:
>>
>> http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?
>>
>> Specifically, two layers, ?Census Tracts? and ?Census Tracts
>> Labels?
>>
>> I can open the service in just about everything, except
>> Mapserver as a WMS client. I?m assuming the problem is in how
>> MapServer is sending it?s request.
>>
>>
>> I must be missing something obvious.
>>
>>
>> Thanks.
>>
>> bobb
>>
>>
>> Call1:
>>
>> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census
>> Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
>>
>>
>> error:
>>
>> Parameter ?layers? contains unacceptable layer names
>>
>>
>>
>> Call2 (use ?+? for space):
>>
>> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census+Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
>>
>>
>> error:
>>
>> Parameter ?layers? contains unacceptable layer names
>>
>>
>>
>> Call3 (URL encoding ?%20? ):
>>
>> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=Census%20Tracts&_OLSALT=0.8675355401581306&SRS=EPSG%3A4326&BBOX=-93.239,44.892,-92.977,44.993&WIDTH=1557&HEIGHT=865
>>
>>
>>
>> error:
>>
>> Parameter ?layers? contains unacceptable layer names
>>
>>
>>
>> ##Mapfile
>>
>> MAP
>>
>> STATUS ON
>>
>> LAYER
>> NAME "Census Tracts"
>> TYPE RASTER
>> STATUS DEFAULT
>>
>> CONNECTION
>> "http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?"
>>
>> CONNECTIONTYPE WMS
>> METADATA
>> "wms_srs" "EPSG:4326"
>> "wms_name" "Census Tracts"
>> "wms_server_version" "1.1.1"
>> #"wms_server_version" "1.3.0"
>> "wms_format" "image/png24"
>>
>> "ows_title" "Census Tracts"
>> #"gml_include_items" "all"
>> END
>> PROJECTION
>> "init=epsg:4326"
>> END
>>
>> TEMPLATE "dummy"
>> END #layer
>>
>> ##CONFIG "MS_ERRORFILE" "/tmp/trying2.txt"
>> ##DEBUG 5
>>
>> END
>>
>>
From boolean10001 at yahoo.com Thu Feb 4 10:24:47 2016
From: boolean10001 at yahoo.com (Carlos Ruiz)
Date: Thu, 4 Feb 2016 18:24:47 +0000 (UTC)
Subject: [mapserver-users] WMS layer name with spaces
References: <1307260367.1492474.1454610287781.JavaMail.yahoo.ref@mail.yahoo.com>
Message-ID: <1307260367.1492474.1454610287781.JavaMail.yahoo@mail.yahoo.com>
I just have read about the problem when calling a WMS layer from a map file which has spaces in the layer's name and I want to help. I already have a local WMS server with Mapserver, I have several layers with spaces in their name, and I have made a .MAP file to test as as a WMS client. It works just fine when the layer name has spaces. However, when I tried to test a layer which has an accent in a vowel it fails.
I suppose that ArcGIS server is not decoding the URL properly (%20 for " ").
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From bob.basques at ci.stpaul.mn.us Thu Feb 4 11:10:40 2016
From: bob.basques at ci.stpaul.mn.us (Basques, Bob (CI-StPaul))
Date: Thu, 4 Feb 2016 19:10:40 +0000
Subject: [mapserver-users] WMS call with layer names containing a space.
In-Reply-To: <56B38823.5000105@gatewaygeomatics.com>
References: <53CD40A7-0B52-4C79-AF44-8FA618F7203E@ci.stpaul.mn.us>
<49A8EA3E-4720-4479-A009-2A4A1306A352@ci.stpaul.mn.us>
<56B38823.5000105@gatewaygeomatics.com>
Message-ID: <39768EDD-5D0A-4327-BB91-A2C70A0A309D@ci.stpaul.mn.us>
done.
bobb
> On Feb 4, 2016, at 11:19 AM, Jeff McKenna wrote:
>
> I was just reading a recent discussion on this, might be the same discussion (http://osgeo-org.1560.x6.nabble.com/Allowing-spaces-in-layer-names-WMS-WFS-td5213960.html).
>
> Bob can you file a little test case for this (tiny mapfile, commands to use to test), as a new ticket on the MapServer tracker? https://github.com/mapserver/mapserver/issues I can't find an existing ticket, so we might as well record one.
>
> -jeff
>
>
>
> --
> Jeff McKenna
> MapServer Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
>
From jmckenna at gatewaygeomatics.com Thu Feb 4 15:29:03 2016
From: jmckenna at gatewaygeomatics.com (Jeff McKenna)
Date: Thu, 4 Feb 2016 19:29:03 -0400
Subject: [mapserver-users] WMS call with layer names containing a space.
In-Reply-To: <39768EDD-5D0A-4327-BB91-A2C70A0A309D@ci.stpaul.mn.us>
References: <53CD40A7-0B52-4C79-AF44-8FA618F7203E@ci.stpaul.mn.us>
<49A8EA3E-4720-4479-A009-2A4A1306A352@ci.stpaul.mn.us>
<56B38823.5000105@gatewaygeomatics.com>
<39768EDD-5D0A-4327-BB91-A2C70A0A309D@ci.stpaul.mn.us>
Message-ID: <56B3DEBF.20000@gatewaygeomatics.com>
On 2016-02-04 3:10 PM, Basques, Bob (CI-StPaul) wrote:
> done.
>
> bobb
>
>
>> On Feb 4, 2016, at 11:19 AM, Jeff McKenna wrote:
>>
>> I was just reading a recent discussion on this, might be the same discussion (http://osgeo-org.1560.x6.nabble.com/Allowing-spaces-in-layer-names-WMS-WFS-td5213960.html).
>>
>> Bob can you file a little test case for this (tiny mapfile, commands to use to test), as a new ticket on the MapServer tracker? https://github.com/mapserver/mapserver/issues I can't find an existing ticket, so we might as well record one.
>>
>> -jeff
>>
>>
>>
Thanks Bob. For everyone else, please help out in the ticket:
https://github.com/mapserver/mapserver/issues/5232
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
From Meis at stadt-muenster.de Fri Feb 5 01:58:29 2016
From: Meis at stadt-muenster.de (Patrick Meis)
Date: Fri, 5 Feb 2016 09:58:29 +0000
Subject: [mapserver-users] Rendering of Symbols outside map window
Message-ID: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
Hallo,
i have stumbled on a problem.
I am simulating a buffering of point-data with the help of symbols, which I have set to
sizeunit = meters
size = 760
These rather big symbols disappear from my map when I zoom in and
the center point of the symbol is no longer inside the map window.
But a significant part of the symbol should still be displayed.
Is there any possibility of extending the rendered map, so that the symbols of my points
are still rendered even when they are outside my map window?
Greetz
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From joerg.thomsen at wheregroup.com Fri Feb 5 02:56:17 2016
From: joerg.thomsen at wheregroup.com (=?UTF-8?Q?J=c3=b6rg_Thomsen_=28WhereGroup=29?=)
Date: Fri, 5 Feb 2016 11:56:17 +0100
Subject: [mapserver-users] Rendering of Symbols outside map window
In-Reply-To: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
References: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
Message-ID: <56B47FD1.7050407@wheregroup.com>
Hello Patrick,
I think mapserver alone can't do it.
some ideas:
- use a cache like mapproxy, which requests big maps
- use a client that creates a buffer around the shown map (like
http://dev.openlayers.org/examples/buffer.html)
- create a server-sided script, that receives your getmap-request,
extends the bbox and mapsize, then sends a request to mappserver, cuts
of the before added border of the image and delivers the result to the
client.
J?rg
Am 05.02.2016 um 10:58 schrieb Patrick Meis:
> Hallo,
>
>
>
> i have stumbled on a problem.
>
> I am simulating a buffering of point-data with the help of symbols,
> which I have set to
>
> sizeunit = meters
>
> size = 760
>
>
>
> These rather big symbols disappear from my map when I zoom in and
>
> the center point of the symbol is no longer inside the map window.
>
> But a significant part of the symbol should still be displayed.
>
>
>
> Is there any possibility of extending the rendered map, so that the
> symbols of my points
>
> are still rendered even when they are outside my map window?
>
>
>
> Greetz
>
> Patrick
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
Viele Gr??e,
J?rg Thomsen
--
*********************************************************
FOSS Academy Winterschule 2016
Alles Wichtige zur Erstellung einer GDI in nur 5 Tagen!
http://www.foss-academy.eu/winterschule_2016
*********************************************************
-------------------------------
J?rg Thomsen
WhereGroup GmbH & Co. KG
Gillweg 3
14193 Berlin
Germany
Fon: +49 (0)30 / 91 70 39 74
Fax: +49 (0)30 / 89 09 53 21
joerg.thomsen at wheregroup.com
www.wheregroup.com
Amtsgericht Bonn, HRA 6788
-------------------------------
Komplement?rin:
WhereGroup Verwaltungs GmbH
vertreten durch:
Olaf Knopp, Peter Stamm
-------------------------------
Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com
From pedrocostaarma at sapo.pt Fri Feb 5 03:46:29 2016
From: pedrocostaarma at sapo.pt (pedrocostaarma at sapo.pt)
Date: Fri, 05 Feb 2016 11:46:29 +0000
Subject: [mapserver-users] windows.h file compiling
Message-ID: <20160205114629.Horde.sykPEoQsSMzq2bMhgxicHLV@mail.sapo.pt>
Hi guys,
I'm trying to compile mapserver on ubuntu server 14.04 but i am
receiving this error:?
[ 90%] Building C object CMakeFiles/msplugin_mssql2008.dir/mapmssql2008.c.o
/mapdata/mapserver-7.0.0/mapmssql2008.c:44:21: fatal error: windows.h:
No such file or directory
?#include
? ? ? ? ? ? ? ? ? ? ?^
compilation terminated.
I do not have 'windows.h' header file. Can anybody help me with what i
have to do to fix that?
Thanks
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From szekerest at gmail.com Fri Feb 5 03:53:13 2016
From: szekerest at gmail.com (Tamas Szekeres)
Date: Fri, 5 Feb 2016 12:53:13 +0100
Subject: [mapserver-users] windows.h file compiling
In-Reply-To: <20160205114629.Horde.sykPEoQsSMzq2bMhgxicHLV@mail.sapo.pt>
References: <20160205114629.Horde.sykPEoQsSMzq2bMhgxicHLV@mail.sapo.pt>
Message-ID:
You should not define WITH_MSSQL2008 in your cmake setup.
Best regards,
Tamas
2016-02-05 12:46 GMT+01:00 :
> Hi guys,
>
> I'm trying to compile mapserver on ubuntu server 14.04 but i am receiving
> this error:
>
> [ 90%] Building C object CMakeFiles/msplugin_mssql2008.dir/mapmssql2008.c.o
> /mapdata/mapserver-7.0.0/mapmssql2008.c:44:21: fatal error: windows.h: No
> such file or directory
> #include
> ^
> compilation terminated.
>
>
>
> I do not have 'windows.h' header file. Can anybody help me with what i
> have to do to fix that?
>
> Thanks
>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From pedrocostaarma at sapo.pt Fri Feb 5 04:01:29 2016
From: pedrocostaarma at sapo.pt (pedrocostaarma at sapo.pt)
Date: Fri, 05 Feb 2016 12:01:29 +0000
Subject: [mapserver-users] windows.h file compiling
In-Reply-To:
References: <20160205114629.Horde.sykPEoQsSMzq2bMhgxicHLV@mail.sapo.pt>
Message-ID: <20160205120129.Horde.2Nq3rpb76mn5YpBOG6nRwKe@mail.sapo.pt>
Thanks, but?WITH_MSSQL2008 plugin is only for windows?
?
Citando Tamas Szekeres :
> You should not define?WITH_MSSQL2008 in your cmake setup. ?
> Best regards,
> ?
> Tamas
> ?
> ?
>
> ? 2016-02-05 12:46 GMT+01:00 :
>> _Hi guys,
>>
>> I'm trying to compile mapserver on ubuntu server 14.04 but i am
>> receiving this error:?
>>
>> [ 90%] Building C object CMakeFiles/msplugin_mssql2008.dir/mapmssql2008.c.o
>> /mapdata/mapserver-7.0.0/mapmssql2008.c:44:21: fatal error:
>> windows.h: No such file or directory
>> ?#include
>> ? ? ? ? ? ? ? ? ? ? ?^
>> compilation terminated.
>>
>> I do not have 'windows.h' header file. Can anybody help me with
>> what i have to do to fix that?
>>
>> Thanks
>>
>> ?_
>>
>> ________________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users_
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From szekerest at gmail.com Fri Feb 5 04:06:59 2016
From: szekerest at gmail.com (Tamas Szekeres)
Date: Fri, 5 Feb 2016 13:06:59 +0100
Subject: [mapserver-users] windows.h file compiling
In-Reply-To: <20160205120129.Horde.2Nq3rpb76mn5YpBOG6nRwKe@mail.sapo.pt>
References: <20160205114629.Horde.sykPEoQsSMzq2bMhgxicHLV@mail.sapo.pt>
<20160205120129.Horde.2Nq3rpb76mn5YpBOG6nRwKe@mail.sapo.pt>
Message-ID:
yes
2016-02-05 13:01 GMT+01:00 :
> Thanks, but WITH_MSSQL2008 plugin is only for windows?
>
>
> Citando Tamas Szekeres :
>
> You should not define WITH_MSSQL2008 in your cmake setup.
>
> Best regards,
>
> Tamas
>
>
>
> 2016-02-05 12:46 GMT+01:00 :
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *Hi guys, I'm trying to compile mapserver on ubuntu server 14.04 but i am
>> receiving this error: [ 90%] Building C object
>> CMakeFiles/msplugin_mssql2008.dir/mapmssql2008.c.o
>> /mapdata/mapserver-7.0.0/mapmssql2008.c:44:21: fatal error: windows.h: No
>> such file or directory #include ^
>> compilation terminated. I do not have 'windows.h' header file. Can anybody
>> help me with what i have to do to fix that? Thanks *
>>
>>
>>
>>
>> *_______________________________________________ mapserver-users mailing
>> list mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>> *
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From pedrocostaarma at sapo.pt Fri Feb 5 04:38:15 2016
From: pedrocostaarma at sapo.pt (pedrocostaarma at sapo.pt)
Date: Fri, 05 Feb 2016 12:38:15 +0000
Subject: [mapserver-users] mapserver server
Message-ID: <20160205123815.Horde.Lr63kLvWvHQt5JzxZCZLEkZ@mail.sapo.pt>
Guys,
Just one more help,
There are some study or anybody knows which server have best
performances for mapserver.
Nginx or apache?
Thanks
?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From han.vangeel at meteogroup.com Fri Feb 5 05:08:06 2016
From: han.vangeel at meteogroup.com (Space)
Date: Fri, 5 Feb 2016 05:08:06 -0800 (PST)
Subject: [mapserver-users] Set OPACITY through runtime substitution
Message-ID: <1454677686487-5249093.post@n6.nabble.com>
Hello,
I'd like to be able to set OPACITY of a layer through a parameter within a
request, like:
http://mapserver-prelive.myserver.net/cgi-bin/mapserv?map=/var/www/mapserver/mymapfile.map&service=wms&request=GetMap&version=1.1.1&layers=wind_area&srs=EPSG:4326&BBOX=-43.6,17.5,42.8,73.6&WIDTH=400&HEIGHT=300&FORMAT=image/png&TIME=2016-01-01T18:00:00.000Z&OPACITY=50
Within the file where the layer is defined I added the line:
OPACITY [opacity]
To the VALIDATION section I have added the following lines:
"opacity" "^[0-9]{1,2}$|^100$"
"default_opacity" "100"
I keep getting an error:
getIntegerOrSymbol(): Symbol definition error. Parsing error near
(opacity):(line 173)
I've tried this on MapServer v6.4.1 and v7.0.0 with the same results. I have
also tried a different approach:
CLASS
EXPRESSION ('[opacity]' = '10')
STYLE
OPACITY 10
END
END
CLASS
EXPRESSION ('[opacity]' = '20')
STYLE
OPACITY 20
END
END
Playing around with the opacity value within the URL tells me it does
interpret the parameter, but setting the opacity like this returns a pink
image in all cases.
Please any help is appreciated.
Regards
Han
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Set-OPACITY-through-runtime-substitution-tp5249093.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
From han.vangeel at meteogroup.com Fri Feb 5 05:22:57 2016
From: han.vangeel at meteogroup.com (Space)
Date: Fri, 5 Feb 2016 05:22:57 -0800 (PST)
Subject: [mapserver-users] Set OPACITY through runtime substitution
In-Reply-To: <1454677686487-5249093.post@n6.nabble.com>
References: <1454677686487-5249093.post@n6.nabble.com>
Message-ID: <1454678577700-5249099.post@n6.nabble.com>
In the above example I used invalid syntax. This is what I meant:
CLASS
EXPRESSION ('%opacity%' = '10')
STYLE
OPACITY 10
END
END
CLASS
EXPRESSION ('%opacity%' = '20')
STYLE
OPACITY 20
END
END
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Set-OPACITY-through-runtime-substitution-tp5249093p5249099.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
From Steve.Lime at state.mn.us Fri Feb 5 09:08:50 2016
From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT))
Date: Fri, 5 Feb 2016 17:08:50 +0000
Subject: [mapserver-users] Set OPACITY through runtime substitution
In-Reply-To: <1454678577700-5249099.post@n6.nabble.com>
References: <1454677686487-5249093.post@n6.nabble.com>
<1454678577700-5249099.post@n6.nabble.com>
Message-ID:
You should be able to do this through variables. For some reason it's not working at the style level - probably a bug, but it does work at the layer level using a syntax like:
http://maps1.dnr.state.mn.us/cgi-bin/mapserv70?map=/usr/local/mapserver/apps/test/opacity/test.map&mode=map (use the default OPACITY if set (in this case it's "OPACITY 10")
http://maps1.dnr.state.mn.us/cgi-bin/mapserv70?map=/usr/local/mapserver/apps/test/opacity/test.map&mode=map&map.layer[county]=OPACITY+50
A more complex syntax *should* work (&map.layer[county].class[0].style[0]=OPACITY+10) but wasn't for me with 7.0 (it did work for COLOR/OUTLINECOLOR).
Steve
-----Original Message-----
From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Space
Sent: Friday, February 05, 2016 7:23 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Set OPACITY through runtime substitution
In the above example I used invalid syntax. This is what I meant:
CLASS
EXPRESSION ('%opacity%' = '10')
STYLE
OPACITY 10
END
END
CLASS
EXPRESSION ('%opacity%' = '20')
STYLE
OPACITY 20
END
END
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Set-OPACITY-through-runtime-substitution-tp5249093p5249099.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
From Steve.Lime at state.mn.us Fri Feb 5 09:58:14 2016
From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT))
Date: Fri, 5 Feb 2016 17:58:14 +0000
Subject: [mapserver-users] Rendering of Symbols outside map window
In-Reply-To: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
References: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
Message-ID:
Any chance you can put together a test case that demonstrates the problem? That would be helpful in doing a little testing to help identify solutions.
Steve
________________________________
From: mapserver-users [mapserver-users-bounces at lists.osgeo.org] on behalf of Patrick Meis [Meis at stadt-muenster.de]
Sent: Friday, February 05, 2016 3:58 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Rendering of Symbols outside map window
Hallo,
i have stumbled on a problem.
I am simulating a buffering of point-data with the help of symbols, which I have set to
sizeunit = meters
size = 760
These rather big symbols disappear from my map when I zoom in and
the center point of the symbol is no longer inside the map window.
But a significant part of the symbol should still be displayed.
Is there any possibility of extending the rendered map, so that the symbols of my points
are still rendered even when they are outside my map window?
Greetz
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From pcreso at yahoo.com Fri Feb 5 12:16:30 2016
From: pcreso at yahoo.com (Brent Wood)
Date: Fri, 5 Feb 2016 20:16:30 +0000 (UTC)
Subject: [mapserver-users] Fw: Help setting up a OSM WMS service with
Mapserver: attribution text and 180 issues
In-Reply-To: <328554116.1573184.1454620258013.JavaMail.yahoo@mail.yahoo.com>
References: <39768EDD-5D0A-4327-BB91-A2C70A0A309D@ci.stpaul.mn.us>
<328554116.1573184.1454620258013.JavaMail.yahoo@mail.yahoo.com>
Message-ID: <836232594.1975571.1454703390567.JavaMail.yahoo@mail.yahoo.com>
Hi,
I'm organising the setting up of a public WMS service for OSM data around New Zealand.
Hi,
This system is working, in a basic way, but there are some specific questions I have:
1. What is the recommended way to have mapserver display a logo & OSM attribution on the map.
2. how can I best address the issue where features E of the 190 line are not displayed E of the 180 line - ie: as +-180 rather than 0-360.
The system is a fully automated build - on Github at https://github.com/kinow/nz-osm-server
At present, we envisage performance as WMS is adequate for the anticipated load, and given we want to support multiple styles & projections - the space required for pre-rendered tiles is prohibitive.?
We are supporting a few different map styles. You can open it as a standalone map tool in a browser with each of the styles (michelin, bing & google) here:
http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-michelin.mapandhttp://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-bing.mapandhttp://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-google.map
Thanks,
? Brent Wood
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From pcreso at yahoo.com Fri Feb 5 12:19:45 2016
From: pcreso at yahoo.com (Brent Wood)
Date: Fri, 5 Feb 2016 20:19:45 +0000 (UTC)
Subject: [mapserver-users] Fw: Help setting up a OSM WMS service with
Mapserver: attribution text and 180 issues
In-Reply-To: <836232594.1975571.1454703390567.JavaMail.yahoo@mail.yahoo.com>
References: <39768EDD-5D0A-4327-BB91-A2C70A0A309D@ci.stpaul.mn.us>
<328554116.1573184.1454620258013.JavaMail.yahoo@mail.yahoo.com>
<836232594.1975571.1454703390567.JavaMail.yahoo@mail.yahoo.com>
Message-ID: <1343035281.1969679.1454703585032.JavaMail.yahoo@mail.yahoo.com>
Hi,
Resent due to formatting issues - apologies!
I'm organising the setting up of a public WMS service for OSM data around New Zealand.
This system is working, in a basic way, but there are some specific questions I have:
1. What is the recommended way to have mapserver display a logo & OSM attribution on the map.
2. how can I best address the issue where features E of the 190 line are not displayed E of the 180 line - ie: as +-180 rather than 0-360.
The system is a fully automated build - on Github at https://github.com/kinow/nz-osm-server
At present, we envisage performance as WMS is adequate for the anticipated load, and given we want to support multiple styles & projections - the space required for pre-rendered tiles is prohibitive.?
We are supporting a few different map styles. You can open it as a standalone map tool in a browser with each of the styles (michelin, bing & google) here:
http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-michelin.map
and
http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-bing.map
and
http://maps.nzoss.org.nz/?mode=browse&template=openlayers&layers=all&map=/opt/basemaps/osm-google.map
Thanks,
? Brent Wood
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jukka.rahkonen at maanmittauslaitos.fi Sat Feb 6 09:20:57 2016
From: jukka.rahkonen at maanmittauslaitos.fi (Rahkonen Jukka (MML))
Date: Sat, 6 Feb 2016 17:20:57 +0000
Subject: [mapserver-users] Set OPACITY through runtime substitution
Message-ID: <57437f2a67f2497ab17ebf99ccb2c61e@C119S212VM022.msvyvi.vaha.local>
Hi,
According to documentation probably not a bug but a missing feature: http://mapserver.org/cgi/runsub.html
It seems that nothing in STYLE can be changed with variables.
-Jukka Rahkonen-
Lime, Steve D (MNIT) wrote:
> You should be able to do this through variables. For some reason it's not working at the style level - probably a bug, but it does work at the layer level using a syntax like:
http://maps1.dnr.state.mn.us/cgi-bin/mapserv70?map=/usr/local/mapserver/apps/test/opacity/test.map&mode=map (use the default OPACITY if set (in this case it's "OPACITY 10")
http://maps1.dnr.state.mn.us/cgi-bin/mapserv70?map=/usr/local/mapserver/apps/test/opacity/test.map&mode=map&map.layer[county]=OPACITY+50
A more complex syntax *should* work (&map.layer[county].class[0].style[0]=OPACITY+10) but wasn't for me with 7.0 (it did work for COLOR/OUTLINECOLOR).
Steve
-----Original Message-----
From: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Space
Sent: Friday, February 05, 2016 7:23 AM
To: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Set OPACITY through runtime substitution
In the above example I used invalid syntax. This is what I meant:
CLASS
EXPRESSION ('%opacity%' = '10')
STYLE
OPACITY 10
END
END
CLASS
EXPRESSION ('%opacity%' = '20')
STYLE
OPACITY 20
END
END
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Set-OPACITY-through-runtime-substitution-tp5249093p5249099.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
From han.vangeel at meteogroup.com Mon Feb 8 02:59:02 2016
From: han.vangeel at meteogroup.com (Space)
Date: Mon, 8 Feb 2016 02:59:02 -0800 (PST)
Subject: [mapserver-users] Set OPACITY through runtime substitution
In-Reply-To: <1454677686487-5249093.post@n6.nabble.com>
References: <1454677686487-5249093.post@n6.nabble.com>
Message-ID: <1454929142098-5249423.post@n6.nabble.com>
Thank you Steve, this works and offers a workable solution!
Regards
Han
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Set-OPACITY-through-runtime-substitution-tp5249093p5249423.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
From afoletti at gmail.com Thu Feb 11 12:54:31 2016
From: afoletti at gmail.com (Ambrogio Foletti)
Date: Thu, 11 Feb 2016 21:54:31 +0100
Subject: [mapserver-users] Rendering of Symbols outside map window
In-Reply-To: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
References: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
Message-ID:
Hello Patrick,
if you are using PostGIS as datasource, I would solve the problem by
integrating a st_buffer in the DATA element itself ;) The added bonus is
that you will get the attribute values from a GetFeatureInfo (if
implemented) in the whole buffer zone.
If not, you can try to use tile mode, and add some metabuffer (see
mapserver doc )
Cheers!
A. Foletti
2016-02-05 10:58 GMT+01:00 Patrick Meis :
> Hallo,
>
>
>
> i have stumbled on a problem.
>
> I am simulating a buffering of point-data with the help of symbols, which
> I have set to
>
> sizeunit = meters
>
> size = 760
>
>
>
> These rather big symbols disappear from my map when I zoom in and
>
> the center point of the symbol is no longer inside the map window.
>
> But a significant part of the symbol should still be displayed.
>
>
>
> Is there any possibility of extending the rendered map, so that the
> symbols of my points
>
> are still rendered even when they are outside my map window?
>
>
>
> Greetz
>
> Patrick
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From thomas.bonfort at gmail.com Fri Feb 12 01:37:37 2016
From: thomas.bonfort at gmail.com (thomas bonfort)
Date: Fri, 12 Feb 2016 10:37:37 +0100
Subject: [mapserver-users] [mapserver-dev] Paris code sprint - show of
hands
In-Reply-To: <5697AE3E.9030008@mapgears.com>
References: <5697AE3E.9030008@mapgears.com>
Message-ID:
I've started a list of topics that we could work on during this sprint
here: https://wiki.osgeo.org/wiki/Paris_Code_Sprint_2016_:_MapServer_Agenda
Please don't hesitate to update it if you're planning on coming and/or
participating
Cheers,
Thomas
On 14 January 2016 at 15:18, Daniel Morissette
wrote:
> Hi MapServer devs,
>
> Could we have a show of hands of who from the MapServer (and GDAL/OGR)
> team are planning to be at the Paris Code Sprint [1] Feb 23-26?
>
> As you know, for me and many others the code sprint is as much about the
> networking as it is about the code, so it would help to ensure that we have
> a critical mass of committed people to help those (like me) who still
> haven't made final plans.
>
> Cheers
>
> --
> Daniel Morissette
> http://www.mapgears.com/
> T: +1 418-696-5056 #201
>
> http://evouala.com/ - Location Intelligence Made Easy
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From deduikertjes at xs4all.nl Fri Feb 12 14:15:41 2016
From: deduikertjes at xs4all.nl (mdprive)
Date: Fri, 12 Feb 2016 23:15:41 +0100
Subject: [mapserver-users] Rendering of Symbols outside map window
In-Reply-To:
References: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
Message-ID: <1028C5D3-759F-4455-8481-E2138FE5F8B0@xs4all.nl>
Hi Patrick,
i've submitted a pull request for extending the map by a buffer and then clipping it, so that partial symbols on the edge get rendered as well (wms non tiled mode).
maybe you can build from sources and use this patch to solve your problem.
marco
--
Op 11 feb. 2016 om 21:54 heeft Ambrogio Foletti het volgende geschreven:
> Hello Patrick,
>
> if you are using PostGIS as datasource, I would solve the problem by integrating a st_buffer in the DATA element itself ;) The added bonus is that you will get the attribute values from a GetFeatureInfo (if implemented) in the whole buffer zone.
> If not, you can try to use tile mode, and add some metabuffer (see mapserver doc)
>
> Cheers!
> A. Foletti
>
> 2016-02-05 10:58 GMT+01:00 Patrick Meis :
>> Hallo,
>>
>>
>>
>> i have stumbled on a problem.
>>
>> I am simulating a buffering of point-data with the help of symbols, which I have set to
>>
>> sizeunit = meters
>>
>> size = 760
>>
>>
>>
>> These rather big symbols disappear from my map when I zoom in and
>>
>> the center point of the symbol is no longer inside the map window.
>>
>> But a significant part of the symbol should still be displayed.
>>
>>
>>
>> Is there any possibility of extending the rendered map, so that the symbols of my points
>>
>> are still rendered even when they are outside my map window?
>>
>>
>>
>> Greetz
>>
>> Patrick
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From support at satshot.com Fri Feb 12 14:28:22 2016
From: support at satshot.com (Avi Blackmore)
Date: Fri, 12 Feb 2016 16:28:22 -0600
Subject: [mapserver-users] Very poor WMS tiling performance with small area,
ultra-high resolution image
Message-ID:
Hello,
We've been using Mapserver as, among other things, a WMS server for some time with satellite and aerial imagery, without problems. We've been able to serve imagery of resolutions down to .25 meters without any significant performance hit.
Today, we got a sample image from a new source, which has a resolution of 0.06 meters. The image is 317 megabytes in size, and has dimensions of 17538 x 19035 pixels. The file size is smaller than many of the Landsat or other images that we have displayed in the past. However, we're finding that rendering this image is extremely expensive. In particular, with tiled access, a la Google Maps, the WMS requests bog down our server to the point where all of its memory is consumed.
I know that overviews, tiling, and such, are good strategies for reducing the render time on a large area, reasonably high resolution image. But what would be good strategies for improving rendering time on this smaller, ultra-high resolution image?
--
Avi Blackmore
Head Programmer/System Administrator
Satshot Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From woodbri at swoodbridge.com Fri Feb 12 14:46:06 2016
From: woodbri at swoodbridge.com (Stephen Woodbridge)
Date: Fri, 12 Feb 2016 17:46:06 -0500
Subject: [mapserver-users] Very poor WMS tiling performance with small
area, ultra-high resolution image
In-Reply-To:
References:
Message-ID: <56BE60AE.1050403@swoodbridge.com>
What is the file format? This has a huge impact on the memory and
compute tile to extract a random bbox of pixels.
In some formats you have to extract the WHOLE image to grab any subset
of pixels which could be your problem.
-Steve W
On 2/12/2016 5:28 PM, Avi Blackmore wrote:
> Hello,
>
> We've been using Mapserver as, among other things, a WMS server for some
> time with satellite and aerial imagery, without problems. We've been
> able to serve imagery of resolutions down to .25 meters without any
> significant performance hit.
>
> Today, we got a sample image from a new source, which has a resolution
> of 0.06 meters. The image is 317 megabytes in size, and has dimensions
> of 17538 x 19035 pixels. The file size is smaller than many of the
> Landsat or other images that we have displayed in the past. However,
> we're finding that rendering this image is extremely expensive. In
> particular, with tiled access, a la Google Maps, the WMS requests bog
> down our server to the point where all of its memory is consumed.
>
> I know that overviews, tiling, and such, are good strategies for
> reducing the render time on a large area, reasonably high resolution
> image. But what would be good strategies for improving rendering time
> on this smaller, ultra-high resolution image?
> --
> Avi Blackmore
> Head Programmer/System Administrator
> Satshot Inc.
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
From Steve.Lime at state.mn.us Fri Feb 12 15:17:39 2016
From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT))
Date: Fri, 12 Feb 2016 23:17:39 +0000
Subject: [mapserver-users] Rendering of Symbols outside map window
In-Reply-To: <1028C5D3-759F-4455-8481-E2138FE5F8B0@xs4all.nl>
References: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
,
<1028C5D3-759F-4455-8481-E2138FE5F8B0@xs4all.nl>
Message-ID:
This should already be happening. The drawing code traverses a layer's class/styles to commute a selection and clipping rectangle that is larger than the map extent.
________________________________
From: mapserver-users [mapserver-users-bounces at lists.osgeo.org] on behalf of mdprive [deduikertjes at xs4all.nl]
Sent: Friday, February 12, 2016 4:15 PM
To: Patrick Meis
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Rendering of Symbols outside map window
Hi Patrick,
i've submitted a pull request for extending the map by a buffer and then clipping it, so that partial symbols on the edge get rendered as well (wms non tiled mode).
maybe you can build from sources and use this patch to solve your problem.
marco
--
Op 11 feb. 2016 om 21:54 heeft Ambrogio Foletti > het volgende geschreven:
Hello Patrick,
if you are using PostGIS as datasource, I would solve the problem by integrating a st_buffer in the DATA element itself ;) The added bonus is that you will get the attribute values from a GetFeatureInfo (if implemented) in the whole buffer zone.
If not, you can try to use tile mode, and add some metabuffer (see mapserver doc)
Cheers!
A. Foletti
2016-02-05 10:58 GMT+01:00 Patrick Meis >:
Hallo,
i have stumbled on a problem.
I am simulating a buffering of point-data with the help of symbols, which I have set to
sizeunit = meters
size = 760
These rather big symbols disappear from my map when I zoom in and
the center point of the symbol is no longer inside the map window.
But a significant part of the symbol should still be displayed.
Is there any possibility of extending the rendered map, so that the symbols of my points
are still rendered even when they are outside my map window?
Greetz
Patrick
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From Brent.Wood at niwa.co.nz Fri Feb 12 18:55:07 2016
From: Brent.Wood at niwa.co.nz (Brent Wood)
Date: Sat, 13 Feb 2016 02:55:07 +0000
Subject: [mapserver-users] Adding a logo & attribution
In-Reply-To:
References: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
,
<1028C5D3-759F-4455-8481-E2138FE5F8B0@xs4all.nl>,
Message-ID: <1455332086572.88802@niwa.co.nz>
Hi,
What is the recommended way to add a logo & text attribution clause in the bottom right corner of a mapserver WMS service?
Thanks
Brent Wood
Programme leader: Environmental Information Delivery
NIWA
DDI: +64 (4) 3860529
Brent Wood
Principal Technician - GIS and Spatial Data Management
Programme Leader - Environmental Information Delivery
+64-4-386-0529 | 301 Evans Bay Parade, Greta Point, Wellington | www.niwa.co.nz
[NIWA]
To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagea65f55.JPG
Type: image/jpeg
Size: 20819 bytes
Desc: imagea65f55.JPG
URL:
From schepers at rvr-online.de Sun Feb 14 23:16:02 2016
From: schepers at rvr-online.de (Schepers, Benjamin)
Date: Mon, 15 Feb 2016 07:16:02 +0000
Subject: [mapserver-users] Very poor WMS tiling performance with small
area, ultra-high resolution image
In-Reply-To:
References:
Message-ID: <7088A26751CB34409B159B4237D510A832F811BD@W2K8-EXDB02.VERBAND.LOCAL>
Hi,
you still pointed to the right answer, strategies like overviews and tiling are IMHO not scale-dependent. They depend on the pixel-dimension of the image and you have - let's say - a not so small one ;-)
So converting to GeoTIFF with internal "Tiling" could be the right strategy for you (http://www.gdal.org/frmt_gtiff.html; use "BigTIFF" if files are expected to be larger than 4GB) --> hint: gdal_translate with "BIGTIFF=YES" and "TILED=YES" ... and of course Overviews (gdaladdo; also possible with BigTIFF-option).
Compression for original and overviews, could be lossless "LZW" or lossy "JPEG-YCBCR" for example, this would also substantially squeeze down the size an d depends on your needs...
I have a lot of aerial images with up to 250.000*150.000px (GSD up to 6cm) in that manner and they are serving really, really fast via mapserver. Not every GIS-software is able to read those tiled and compressed BigTiffs directly (due to the lack of support for this file-format), but ArcGIS and QGIS do well (both use GDAL) and all others could still use the WMS served from mapserver!
Regards
Ben
Luftbild und Geoinformationssysteme
schepers at rvr-online.de
[cid:image001.jpg at 01D167C6.4912F620]
Kronprinzenstra?e 35
45128 Essen
Germany
www.metropoleruhr.de
Von: mapserver-users [mailto:mapserver-users-bounces at lists.osgeo.org] Im Auftrag von Avi Blackmore
Gesendet: Freitag, 12. Februar 2016 23:28
An: mapserver-users at lists.osgeo.org
Betreff: [mapserver-users] Very poor WMS tiling performance with small area, ultra-high resolution image
Hello,
We've been using Mapserver as, among other things, a WMS server for some time with satellite and aerial imagery, without problems. We've been able to serve imagery of resolutions down to .25 meters without any significant performance hit.
Today, we got a sample image from a new source, which has a resolution of 0.06 meters. The image is 317 megabytes in size, and has dimensions of 17538 x 19035 pixels. The file size is smaller than many of the Landsat or other images that we have displayed in the past. However, we're finding that rendering this image is extremely expensive. In particular, with tiled access, a la Google Maps, the WMS requests bog down our server to the point where all of its memory is consumed.
I know that overviews, tiling, and such, are good strategies for reducing the render time on a large area, reasonably high resolution image. But what would be good strategies for improving rendering time on this smaller, ultra-high resolution image?
--
Avi Blackmore
Head Programmer/System Administrator
Satshot Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 8303 bytes
Desc: image001.jpg
URL:
From deduikertjes at xs4all.nl Mon Feb 15 00:44:21 2016
From: deduikertjes at xs4all.nl (deduikertjes)
Date: Mon, 15 Feb 2016 09:44:21 +0100
Subject: [mapserver-users] Rendering of Symbols outside map window
In-Reply-To:
References: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
<1028C5D3-759F-4455-8481-E2138FE5F8B0@xs4all.nl>
Message-ID: <56C18FE5.1050203@xs4all.nl>
Steve,
I think the key part in the question is here:
" and the center point of the symbol is no longer inside the map window".
To my experience a symbol doesn't get drawn at all when the point which
is symbolized is outside the requested extent (WMS mode at least).
To solve that I created the mentioned pull request.
Or do I miss something?
MArco
On 13-02-16 00:17, Lime, Steve D (MNIT) wrote:
> This should already be happening. The drawing code traverses a layer's
> class/styles to commute a selection and clipping rectangle that is
> larger than the map extent.
>
> ------------------------------------------------------------------------
> *From:* mapserver-users [mapserver-users-bounces at lists.osgeo.org] on
> behalf of mdprive [deduikertjes at xs4all.nl]
> *Sent:* Friday, February 12, 2016 4:15 PM
> *To:* Patrick Meis
> *Cc:* mapserver-users at lists.osgeo.org
> *Subject:* Re: [mapserver-users] Rendering of Symbols outside map window
>
> Hi Patrick,
>
> i've submitted a pull request for extending the map by a buffer and
> then clipping it, so that partial symbols on the edge get rendered as
> well (wms non tiled mode).
>
> maybe you can build from sources and use this patch to solve your problem.
>
> marco
>
> --
>
>
> Op 11 feb. 2016 om 21:54 heeft Ambrogio Foletti > het volgende geschreven:
>
>> Hello Patrick,
>>
>> if you are using PostGIS as datasource, I would solve the problem by
>> integrating a st_buffer in the DATA element itself ;) The added bonus
>> is that you will get the attribute values from a GetFeatureInfo (if
>> implemented) in the whole buffer zone.
>> If not, you can try to use tile mode, and add some metabuffer (see
>> mapserver doc )
>>
>> Cheers!
>> A. Foletti
>>
>> 2016-02-05 10:58 GMT+01:00 Patrick Meis > >:
>>
>> Hallo,
>>
>> i have stumbled on a problem.
>>
>> I am simulating a buffering of point-data with the help of
>> symbols, which I have set to
>>
>> sizeunit = meters
>>
>> size = 760
>>
>> These rather big symbols disappear from my map when I zoom in and
>>
>> the center point of the symbol is no longer inside the map window.
>>
>> But a significant part of the symbol should still be displayed.
>>
>> Is there any possibility of extending the rendered map, so that
>> the symbols of my points
>>
>> are still rendered even when they are outside my map window?
>>
>> Greetz
>>
>> Patrick
>>
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>>
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From Steve.Lime at state.mn.us Mon Feb 15 08:44:13 2016
From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT))
Date: Mon, 15 Feb 2016 16:44:13 +0000
Subject: [mapserver-users] Rendering of Symbols outside map window
In-Reply-To: <56C18FE5.1050203@xs4all.nl>
References: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
<1028C5D3-759F-4455-8481-E2138FE5F8B0@xs4all.nl>
,
<56C18FE5.1050203@xs4all.nl>
Message-ID:
I know. We use to account for that explicitly.
________________________________
From: deduikertjes [deduikertjes at xs4all.nl]
Sent: Monday, February 15, 2016 2:44 AM
To: Lime, Steve D (MNIT); Patrick Meis
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Rendering of Symbols outside map window
Steve,
I think the key part in the question is here:
" and the center point of the symbol is no longer inside the map window".
To my experience a symbol doesn't get drawn at all when the point which is symbolized is outside the requested extent (WMS mode at least).
To solve that I created the mentioned pull request.
Or do I miss something?
MArco
On 13-02-16 00:17, Lime, Steve D (MNIT) wrote:
This should already be happening. The drawing code traverses a layer's class/styles to commute a selection and clipping rectangle that is larger than the map extent.
________________________________
From: mapserver-users [mapserver-users-bounces at lists.osgeo.org] on behalf of mdprive [deduikertjes at xs4all.nl]
Sent: Friday, February 12, 2016 4:15 PM
To: Patrick Meis
Cc: mapserver-users at lists.osgeo.org
Subject: Re: [mapserver-users] Rendering of Symbols outside map window
Hi Patrick,
i've submitted a pull request for extending the map by a buffer and then clipping it, so that partial symbols on the edge get rendered as well (wms non tiled mode).
maybe you can build from sources and use this patch to solve your problem.
marco
--
Op 11 feb. 2016 om 21:54 heeft Ambrogio Foletti <afoletti at gmail.com> het volgende geschreven:
Hello Patrick,
if you are using PostGIS as datasource, I would solve the problem by integrating a st_buffer in the DATA element itself ;) The added bonus is that you will get the attribute values from a GetFeatureInfo (if implemented) in the whole buffer zone.
If not, you can try to use tile mode, and add some metabuffer (see mapserver doc)
Cheers!
A. Foletti
2016-02-05 10:58 GMT+01:00 Patrick Meis >:
Hallo,
i have stumbled on a problem.
I am simulating a buffering of point-data with the help of symbols, which I have set to
sizeunit = meters
size = 760
These rather big symbols disappear from my map when I zoom in and
the center point of the symbol is no longer inside the map window.
But a significant part of the symbol should still be displayed.
Is there any possibility of extending the rendered map, so that the symbols of my points
are still rendered even when they are outside my map window?
Greetz
Patrick
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From Steve.Lime at state.mn.us Mon Feb 15 09:10:28 2016
From: Steve.Lime at state.mn.us (Lime, Steve D (MNIT))
Date: Mon, 15 Feb 2016 17:10:28 +0000
Subject: [mapserver-users] Adding a logo & attribution
In-Reply-To: <1455332086572.88802@niwa.co.nz>
References: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
,
<1028C5D3-759F-4455-8481-E2138FE5F8B0@xs4all.nl>,
,
<1455332086572.88802@niwa.co.nz>
Message-ID:
You can use an inline feature like so:
LAYER
TYPE '
NAME 'logo'
STATUS DEFAULT
TRANSFORM LR
UNITS PIXELS
FEATURE
POINTS -50 -20 END
TEXT 'My Attribution'
END
CLASS
... logo graphic and a label ...
END
END
I'm not positive on the syntax but this would consistently put something in the lower right-hand corner. You might have to putz a bit with it but I know it can be done.
Steve
________________________________
From: mapserver-users [mapserver-users-bounces at lists.osgeo.org] on behalf of Brent Wood [Brent.Wood at niwa.co.nz]
Sent: Friday, February 12, 2016 8:55 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] Adding a logo & attribution
Hi,
What is the recommended way to add a logo & text attribution clause in the bottom right corner of a mapserver WMS service?
Thanks
Brent Wood
Programme leader: Environmental Information Delivery
NIWA
DDI: +64 (4) 3860529
Brent Wood
Principal Technician - GIS and Spatial Data Management
Programme Leader - Environmental Information Delivery
+64-4-386-0529 | 301 Evans Bay Parade, Greta Point, Wellington | www.niwa.co.nz
[NIWA]
To ensure compliance with legal requirements and to maintain cyber security standards, NIWA's IT systems are subject to ongoing monitoring, activity logging and auditing. This monitoring and auditing service may be provided by third parties. Such third parties can access information transmitted to, processed by and stored on NIWA's IT systems.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagea65f55.JPG
Type: image/jpeg
Size: 20819 bytes
Desc: imagea65f55.JPG
URL:
From support at satshot.com Mon Feb 15 10:21:01 2016
From: support at satshot.com (Avi Blackmore)
Date: Mon, 15 Feb 2016 12:21:01 -0600
Subject: [mapserver-users] Very poor WMS tiling performance with small
area, ultra-high resolution image
In-Reply-To: <7088A26751CB34409B159B4237D510A832F811BD@W2K8-EXDB02.VERBAND.LOCAL>
References:
<7088A26751CB34409B159B4237D510A832F811BD@W2K8-EXDB02.VERBAND.LOCAL>
Message-ID:
On Feb 15, 2016, at 1:16 AM, Schepers, Benjamin wrote:
> Hi,
>
> you still pointed to the right answer, strategies like overviews and tiling are IMHO not scale-dependent. They depend on the pixel-dimension of the image and you have - let?s say - a not so small one ;-)
>
> So converting to GeoTIFF with internal ?Tiling? could be the right strategy for you (http://www.gdal.org/frmt_gtiff.html; use ?BigTIFF? if files are expected to be larger than 4GB) ? hint: gdal_translate with ?BIGTIFF=YES? and ?TILED=YES? ? and of course Overviews (gdaladdo; also possible with BigTIFF-option).
>
> Compression for original and overviews, could be lossless ?LZW? or lossy ?JPEG-YCBCR? for example, this would also substantially squeeze down the size an d depends on your needs?
>
> I have a lot of aerial images with up to 250.000*150.000px (GSD up to 6cm) in that manner and they are serving really, really fast via mapserver. Not every GIS-software is able to read those tiled and compressed BigTiffs directly (due to the lack of support for this file-format), but ArcGIS and QGIS do well (both use GDAL) and all others could still use the WMS served from mapserver!
Thanks for the advice. I was already using GeoTIFFs with internal tiling, and compression.
The issue turned out to be a bad directive in the mapfile. Our Mapscript application was misconfigured to set LOAD_WHOLE_IMAGE=yes in the processing directives for small-area imagery. I don't recall why this was done, but I changed it, and now the images load fine in tiled mode.
Thanks for your help.
--
Avi Blackmore
Head Programmer/System Administrator
Satshot Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From thomas.bonfort at gmail.com Mon Feb 15 12:23:02 2016
From: thomas.bonfort at gmail.com (thomas bonfort)
Date: Mon, 15 Feb 2016 21:23:02 +0100
Subject: [mapserver-users] Rendering of Symbols outside map window
In-Reply-To:
References: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
<1028C5D3-759F-4455-8481-E2138FE5F8B0@xs4all.nl>
<56C18FE5.1050203@xs4all.nl>
Message-ID:
Steve,
IIRC, we account for the size of symbols when adjusting our clipping
rectangle once we have obtained a feature, but we do not adjust the query
extent when doing whichshapes(). That's something we may want to fix.
Another use-case would also be when the DATA statement does something like
"ST_Buffer(the_geom,...) as the geom"
--
thomas
On 15 February 2016 at 17:44, Lime, Steve D (MNIT)
wrote:
> I know. We use to account for that explicitly.
>
> ------------------------------
> *From:* deduikertjes [deduikertjes at xs4all.nl]
> *Sent:* Monday, February 15, 2016 2:44 AM
> *To:* Lime, Steve D (MNIT); Patrick Meis
>
> *Cc:* mapserver-users at lists.osgeo.org
> *Subject:* Re: [mapserver-users] Rendering of Symbols outside map window
>
> Steve,
>
> I think the key part in the question is here:
>
> " and the center point of the symbol is no longer inside the map window".
> To my experience a symbol doesn't get drawn at all when the point which is
> symbolized is outside the requested extent (WMS mode at least).
>
> To solve that I created the mentioned pull request.
>
> Or do I miss something?
>
> MArco
>
>
> On 13-02-16 00:17, Lime, Steve D (MNIT) wrote:
>
> This should already be happening. The drawing code traverses a layer's
> class/styles to commute a selection and clipping rectangle that is larger
> than the map extent.
>
> ------------------------------
> *From:* mapserver-users [mapserver-users-bounces at lists.osgeo.org] on
> behalf of mdprive [deduikertjes at xs4all.nl]
> *Sent:* Friday, February 12, 2016 4:15 PM
> *To:* Patrick Meis
> *Cc:* mapserver-users at lists.osgeo.org
> *Subject:* Re: [mapserver-users] Rendering of Symbols outside map window
>
> Hi Patrick,
>
> i've submitted a pull request for extending the map by a buffer and then
> clipping it, so that partial symbols on the edge get rendered as well (wms
> non tiled mode).
>
> maybe you can build from sources and use this patch to solve your problem.
>
> marco
>
> --
>
>
> Op 11 feb. 2016 om 21:54 heeft Ambrogio Foletti <
> afoletti at gmail.com> het volgende geschreven:
>
> Hello Patrick,
>
> if you are using PostGIS as datasource, I would solve the problem by
> integrating a st_buffer in the DATA element itself ;) The added bonus is
> that you will get the attribute values from a GetFeatureInfo (if
> implemented) in the whole buffer zone.
> If not, you can try to use tile mode, and add some metabuffer (see
> mapserver doc )
>
> Cheers!
> A. Foletti
>
> 2016-02-05 10:58 GMT+01:00 Patrick Meis :
>
>> Hallo,
>>
>>
>>
>> i have stumbled on a problem.
>>
>> I am simulating a buffering of point-data with the help of symbols, which
>> I have set to
>>
>> sizeunit = meters
>>
>> size = 760
>>
>>
>>
>> These rather big symbols disappear from my map when I zoom in and
>>
>> the center point of the symbol is no longer inside the map window.
>>
>> But a significant part of the symbol should still be displayed.
>>
>>
>>
>> Is there any possibility of extending the rendered map, so that the
>> symbols of my points
>>
>> are still rendered even when they are outside my map window?
>>
>>
>>
>> Greetz
>>
>> Patrick
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From deduikertjes at xs4all.nl Mon Feb 15 23:43:46 2016
From: deduikertjes at xs4all.nl (deduikertjes)
Date: Tue, 16 Feb 2016 08:43:46 +0100
Subject: [mapserver-users] Rendering of Symbols outside map window
In-Reply-To:
References: <508d96e721054bb69404dcae25a16f2f@ws059.ads.stadt-muenster.de>
<1028C5D3-759F-4455-8481-E2138FE5F8B0@xs4all.nl>
<56C18FE5.1050203@xs4all.nl>
Message-ID: <56C2D332.505@xs4all.nl>
>>>That's something we may want to fix.
If I remember correctly, Mapserver in tile mode draws a slightly larger
tile and crops that one (something configurable with GUTTER or so). I
wrote my the code in my pull request along the same principle.
Adjusting the query extent when doing whichshapes() and account for the
size of symbols when adjusting the clipping rectangle once the feature
is obtained might be more efficient?
But maybe this discussion shoud be done in mapserver-dev?
MArco
On 15-02-16 21:23, thomas bonfort wrote:
> Steve,
> IIRC, we account for the size of symbols when adjusting our clipping
> rectangle once we have obtained a feature, but we do not adjust the
> query extent when doing whichshapes(). That's something we may want to
> fix.
> Another use-case would also be when the DATA statement does something
> like "ST_Buffer(the_geom,...) as the geom"
>
> --
> thomas
>
> On 15 February 2016 at 17:44, Lime, Steve D (MNIT)
> > wrote:
>
> I know. We use to account for that explicitly.
>
> ------------------------------------------------------------------------
> *From:* deduikertjes [deduikertjes at xs4all.nl
> ]
> *Sent:* Monday, February 15, 2016 2:44 AM
> *To:* Lime, Steve D (MNIT); Patrick Meis
>
> *Cc:* mapserver-users at lists.osgeo.org
>
> *Subject:* Re: [mapserver-users] Rendering of Symbols outside map
> window
>
> Steve,
>
> I think the key part in the question is here:
>
> " and the center point of the symbol is no longer inside the map
> window".
>
> To my experience a symbol doesn't get drawn at all when the point
> which is symbolized is outside the requested extent (WMS mode at
> least).
>
> To solve that I created the mentioned pull request.
>
> Or do I miss something?
>
> MArco
>
>
> On 13-02-16 00:17, Lime, Steve D (MNIT) wrote:
>> This should already be happening. The drawing code traverses a
>> layer's class/styles to commute a selection and clipping
>> rectangle that is larger than the map extent.
>>
>> ------------------------------------------------------------------------
>> *From:* mapserver-users [mapserver-users-bounces at lists.osgeo.org
>> ] on behalf of
>> mdprive [deduikertjes at xs4all.nl ]
>> *Sent:* Friday, February 12, 2016 4:15 PM
>> *To:* Patrick Meis
>> *Cc:* mapserver-users at lists.osgeo.org
>>
>> *Subject:* Re: [mapserver-users] Rendering of Symbols outside map
>> window
>>
>> Hi Patrick,
>>
>> i've submitted a pull request for extending the map by a buffer
>> and then clipping it, so that partial symbols on the edge get
>> rendered as well (wms non tiled mode).
>>
>> maybe you can build from sources and use this patch to solve your
>> problem.
>>
>> marco
>>
>> --
>>
>>
>> Op 11 feb. 2016 om 21:54 heeft Ambrogio Foletti
>> > het volgende
>> geschreven:
>>
>>> Hello Patrick,
>>>
>>> if you are using PostGIS as datasource, I would solve the
>>> problem by integrating a st_buffer in the DATA element itself ;)
>>> The added bonus is that you will get the attribute values from a
>>> GetFeatureInfo (if implemented) in the whole buffer zone.
>>> If not, you can try to use tile mode, and add some metabuffer
>>> (see mapserver doc )
>>>
>>> Cheers!
>>> A. Foletti
>>>
>>> 2016-02-05 10:58 GMT+01:00 Patrick Meis >> >:
>>>
>>> Hallo,
>>>
>>> i have stumbled on a problem.
>>>
>>> I am simulating a buffering of point-data with the help of
>>> symbols, which I have set to
>>>
>>> sizeunit = meters
>>>
>>> size = 760
>>>
>>> These rather big symbols disappear from my map when I zoom
>>> in and
>>>
>>> the center point of the symbol is no longer inside the map
>>> window.
>>>
>>> But a significant part of the symbol should still be displayed.
>>>
>>> Is there any possibility of extending the rendered map, so
>>> that the symbols of my points
>>>
>>> are still rendered even when they are outside my map window?
>>>
>>> Greetz
>>>
>>> Patrick
>>>
>>>
>>> _______________________________________________
>>> mapserver-users mailing list
>>> mapserver-users at lists.osgeo.org
>>>
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>
>>>
>
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From edmar.moretti at gmail.com Tue Feb 16 05:09:03 2016
From: edmar.moretti at gmail.com (Moretti Edmar)
Date: Tue, 16 Feb 2016 11:09:03 -0200
Subject: [mapserver-users] Remove CLUSTER definition
In-Reply-To:
References:
Message-ID:
I solved the problem of CLUSTER removal with the following code :
$layer->updatefromstring("LAYER CLUSTER END END");
Here is an example of the operation :
https://youtu.be/UtlvTWyoH2M
2016-02-03 23:14 GMT-02:00 Moretti Edmar :
> I used your suggestion but did not work as expected.
> I used PHP to create the cluster on a Layer. After creation, the mapfile
> contains the code:
>
> CLUSTER
> MAXDISTANCE 5
> REGION "rectangle"
> GROUP ('[TIPO]')
> END # CLUSTER
>
> After applying your sugestion, the mapfile looks like
>
> CLUSTER
> REGION ""
> END # CLUSTER
>
> but the Cluster still remains, now with the default values
>
> My PHP to remove cluster:
>
> $cluster->setFilter(NULL);
> $cluster->setGroup(NULL);
> $cluster->maxdistance = 10;
> $cluster->region = NULL;
>
> Any idea?
>
> Thank you for your help.
>
> 2016-02-02 13:30 GMT-02:00 Tamas Szekeres :
>
>> Looks like you need to set the following default parameters to prevent
>> from writing to the mapfile:
>>
>> cluster->maxdistance == 10 &&
>> cluster->buffer == 0.0 &&
>> cluster->region == NULL &&
>> cluster->group.string == NULL &&
>> cluster->filter.string == NULL
>>
>> Best regards,
>>
>> Tamas
>>
>>
>>
>> 2016-02-02 13:48 GMT+01:00 Moretti Edmar :
>>
>>> How do I remove the CLUSTER definition of a mapfile using PHP-MapScript?
>>> I try to use the code below, but without success
>>>
>>> $cluster = $layer->cluster;
>>> $cluster->updateFromString("GROUP END");
>>>
>>> --
>>> Para tirar d?vidas sobre o i3Geo utilize a lista:
>>> https://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo
>>>
>>> Edmar Moretti
>>> http://www.edmarmoretti.com.br
>>> Skype: edmar.moretti
>>> gTalk: edmar.moretti
>>>
>>> _______________________________________________
>>> mapserver-users mailing list
>>> mapserver-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>>
>>
>>
>
>
> --
> Para tirar d?vidas sobre o i3Geo utilize a lista:
> https://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo
>
> Edmar Moretti
> http://www.edmarmoretti.com.br
> Skype: edmar.moretti
> gTalk: edmar.moretti
>
--
Para tirar d?vidas sobre o i3Geo utilize a lista:
https://lists.osgeo.org/cgi-bin/mailman/listinfo/i3geo
Edmar Moretti
http://www.edmarmoretti.com.br
Skype: edmar.moretti
gTalk: edmar.moretti
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jean.somers at gmail.com Tue Feb 16 05:15:26 2016
From: jean.somers at gmail.com (jeansomers)
Date: Tue, 16 Feb 2016 05:15:26 -0800 (PST)
Subject: [mapserver-users] Inconsistance between display and data
Message-ID: <1455628526559-5250812.post@n6.nabble.com>
Hi,
I'm one of two base map administrators for a MapServer web-based
application.
We're regularly integrating new base map data, from reception through
quality check to real integration.
A while ago, I noticed a base map inconsistance: the map displayed a railway
following the coast in a small peninsula.
I can tell there is no railway there, I already went to the place. That's
the beginning.
So I asked for a correction from the regional administrator, which delivered
me a new version of the local data.
I checked a last time and discovered that the railway was still on the
MapServer application.
I loaded the original data in QGIS, applied the usual symbology : no
railway.
I checked the attributes: no railway values in the symbology field.
My colleague suggested it came from an overlapping data: we checked the tile
indexes of neighbouring data; none was overlapping on the railway tracks.
There we are, without a clue about the origin of this inconsistance.
I forgot to mention that we repeatedly deleted application and client caches
inbetween.
So if you have any idea where it can com from, your suggestions are
welcomed.
For your notice, here is the print screen of the issue
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Inconsistance-between-display-and-data-tp5250812.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
From Steve.Toutant at inspq.qc.ca Tue Feb 16 05:36:17 2016
From: Steve.Toutant at inspq.qc.ca (Steve.Toutant at inspq.qc.ca)
Date: Tue, 16 Feb 2016 08:36:17 -0500
Subject: [mapserver-users] RE Inconsistance between display and data
In-Reply-To: <1455628526559-5250812.post@n6.nabble.com>
References: <1455628526559-5250812.post@n6.nabble.com>
Message-ID:
Maybe bad layer projection parameters ...
This railway might no be in the projection you think it is....
jeansomers @lists.osgeo.org
Envoy? par : "mapserver-users"
2016-02-16 08:15
A
mapserver-users at lists.osgeo.org
cc
Objet
[mapserver-users] Inconsistance between display and data
Hi,
I'm one of two base map administrators for a MapServer web-based
application.
We're regularly integrating new base map data, from reception through
quality check to real integration.
A while ago, I noticed a base map inconsistance: the map displayed a
railway
following the coast in a small peninsula.
I can tell there is no railway there, I already went to the place. That's
the beginning.
So I asked for a correction from the regional administrator, which
delivered
me a new version of the local data.
I checked a last time and discovered that the railway was still on the
MapServer application.
I loaded the original data in QGIS, applied the usual symbology : no
railway.
I checked the attributes: no railway values in the symbology field.
My colleague suggested it came from an overlapping data: we checked the
tile
indexes of neighbouring data; none was overlapping on the railway tracks.
There we are, without a clue about the origin of this inconsistance.
I forgot to mention that we repeatedly deleted application and client
caches
inbetween.
So if you have any idea where it can com from, your suggestions are
welcomed.
For your notice, here is the print screen of the issue
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Inconsistance-between-display-and-data-tp5250812.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From jean.somers at gmail.com Tue Feb 16 05:38:47 2016
From: jean.somers at gmail.com (jeansomers)
Date: Tue, 16 Feb 2016 05:38:47 -0800 (PST)
Subject: [mapserver-users] RE Inconsistance between display and data
Message-ID:
I'm actually beyond projection, I don't even know which data this railway
refers to!!!!!
On Tue, 16 Feb 2016 at 14:36 Steve.Toutant [via OSGeo.org] <
ml-node+s1560n5250815h9 at n6.nabble.com> wrote:
> Maybe bad layer projection parameters ...
> This railway might no be in the projection you think it is....
>
>
>
>
> *jeansomers <[hidden email]
> >@lists.osgeo.org
> *
> Envoy? par : "mapserver-users" <[hidden email]
> >
>
> 2016-02-16 08:15
>
> A
> [hidden email]
>
> cc
> Objet
> [mapserver-users] Inconsistance between display and data
>
>
>
>
>
>
> Hi,
> I'm one of two base map administrators for a MapServer web-based
> application.
>
> We're regularly integrating new base map data, from reception through
> quality check to real integration.
>
> A while ago, I noticed a base map inconsistance: the map displayed a
> railway
> following the coast in a small peninsula.
>
> I can tell there is no railway there, I already went to the place. That's
> the beginning.
>
> So I asked for a correction from the regional administrator, which
> delivered
> me a new version of the local data.
>
> I checked a last time and discovered that the railway was still on the
> MapServer application.
>
> I loaded the original data in QGIS, applied the usual symbology : no
> railway.
> I checked the attributes: no railway values in the symbology field.
>
> My colleague suggested it came from an overlapping data: we checked the
> tile
> indexes of neighbouring data; none was overlapping on the railway tracks.
>
> There we are, without a clue about the origin of this inconsistance.
>
> I forgot to mention that we repeatedly deleted application and client
> caches
> inbetween.
>
> So if you have any idea where it can com from, your suggestions are
> welcomed.
>
> For your notice, here is the print screen of the issue
>
>
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Inconsistance-between-display-and-data-tp5250812.html
> Sent from the Mapserver - User mailing list archive at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
> _______________________________________________
> mapserver-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://osgeo-org.1560.x6.nabble.com/Inconsistance-between-display-and-data-tp5250812p5250815.html
> To unsubscribe from Inconsistance between display and data, click here
>
> .
> NAML
>
>
--
*SOMERS Jean*
jean.somers at gmailcom
+33 6 26 34 59 96
*Skype:* jeansomers
*LinkedIn:* https://fr.linkedin.com/pub/*jean*-*somers*/4b/9b2/42b
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Re-RE-Inconsistance-between-display-and-data-tp5250817.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From yves.jacolin at camptocamp.com Tue Feb 16 06:21:17 2016
From: yves.jacolin at camptocamp.com (Yves Jacolin)
Date: Tue, 16 Feb 2016 15:21:17 +0100
Subject: [mapserver-users] How Interval is defined for WMS-T
Message-ID:
Hello,
I have a WMS-T layer. The datasource is in a postgis layer. The SQL request
send by MapServer is something like this:
("timestamp" between date_trunc('second',timestamp
'2016-02-17T15:00:00.000Z') and date_trunc('second',timestamp
'2016-02-17T15:00:00.000Z') + interval '1 second' - interval '1 second')
I understand the + interval '1 second' - interval '1second', but I can't
understand how the first interval resolution come from, see [1].
I guess this is calculated from wms_timedefault or wms_timeextent. Here my
METADATA LAYER of my mapfile:
"wms_timeextent" "2016-02-16T22:20/2016-02-17T21:20/PT1H"
"wms_timeitem" "timestamp"
"wms_timedefault" "2016-02-16T23:20"
Any idea how I can "force" the interval resolution to minute?
Thanks,
Y.
[1]
https://github.com/mapserver/mapserver/blob/branch-7-0/mappostgis.c#L3389
--
Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel (France) : +33 4 58 48 20 43 (new !)
Tel (Suisse) : +41 21 619 10 43
Mob. : +33 6 18 75 42 21
Fax : 04 79 70 15 81
Mail : yves.jacolin at camptocamp.com
http://www.camptocamp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From even.rouault at spatialys.com Tue Feb 16 06:43:43 2016
From: even.rouault at spatialys.com (Even Rouault)
Date: Tue, 16 Feb 2016 15:43:43 +0100
Subject: [mapserver-users] How Interval is defined for WMS-T
In-Reply-To:
References: