Hi,
You need to use a CLASSITEM
LAYER
...
CLASSITEM "LANGUAGE"
CLASS
EXPRESSION /^GERMAN$/
...
EXPRESSION /^FRENCH$/
...
...
Have fun / Lars S.
From: MapServer-users On Behalf Of
Preuß, Sylvia
Sent: den 8 februari 2023 08:24
To: 'mapserver-users@lists.osgeo.org'
Hi,
I remember that I did tileindexes for vector layers a couple of years ago.
I can’t find my example right now, but I think I was following this example for
raster.
The important thing is to have a one layer for the actual tile index, that has
status off and one layer that is using the tile
Hi, I guess it is the old problem with axis order between WMS 1.1.1 and WMS
1.3.0
Daniel Morissette wrote about the problem long time ago.
http://dmorissette.blogspot.com/2012/12/dont-upgrade-to-wms-130-unless-you.html
/Lars S.
From: MapServer-users On Behalf Of
Jody Klymak
Sent: den 27
Hi again,
What happens if You skip the IMAGECOLOR statement ?
I did a project a year ago with a lot of transparent layers.
But I can't see that I used any IMAGECOLOR statements in that case.
I did however use predefined 256 color palettes for another reason.
/Lars
-Original Message-
Thomas B. described how to do it in this post:
http://lists.osgeo.org/pipermail/mapserver-dev/2015-October/014614.html
It is just available today if You compile master branch yourself, since it was
developed after the 7.0 release.
/Lars Schylberg
==
Hi,
Draw a shadow below the polygon with
There is even more details how to optimize the data if You read the blog entry
from Paul R.
http://blog.cleverelephant.ca/2015/02/geotiff-compression-for-dummies.html
/Lars S.
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On
Behalf Of Travis Kirstine
Sent: den 14
It seems like You have a typing error.
FILTER ([CODICE[ = 107)
Should be:
FILTER ([CODICE] = 107)
/Lars
-Original Message-
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Andrea Peri
Sent: den 9 juni 2015 11:34
To:
The linestrings and point are inside a geometrycollection.
There is no FID that You can use to make the selection.
I would suggest that You experiment with ogrinfo first to see that You can
extract what You want.
I guess that You have to make a more advanced sql query to break the
Hi,
Without looking at the your details I remember one blog entry that might help.
http://linfiniti.com/2011/09/making-the-most-of-umn-mapserver-runtime-variable-substitution/
another relevant link seems to be
http://trac.osgeo.org/openlayers/wiki/Highlighting
/Lars
From:
Hi
Looking at your old example I became curious. Did You use gdaltindex to create
the indexfile in spatialite or did You do in some other way?
The -f option in gdaltindex seems like a rather recent addition that I haven't
tried.
/Lars
-Original Message-
From:
I guess this must be a version problem. That same command runs fine on my
osgeolive8 machine.
ogrinfo --version
GDAL 1.10.1, released 2013/08/26
/Lars
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of alok mathur
Sent: den 16 mars
Hi Jukka,
You were right about that is possible to calculate length of a line in a KML
file in Mapserver via ogr and sqlite.
It is possible with a VRT file. I had some weekend fun learning. This will be
useful in another project I am doing!
The only trouble I found, was that I could not get
As far as I know there is no length function in Mapserver.
The only geometry function to use in Expressions is area(shape).
OGR sql doesn’t provide that either as far as I can see in the documentation.
So the solutions might be to convert your KML data to sqlite or postgis where
such functions
To: Schylberg Lars; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Calculate length!
Hi Lars,
You should not underestimate GDAL. Read
http://www.gdal.org/ogr_sql_sqlite.html and look at this:
ogrinfo -dialect sqlite -sql select st_length(geometry) from line_demo limit
5
The OGR style is the variable that is returned in the variable that is casted.
Please look at the Layer definitions that I sent yesterday in the mapfile
example.
DATA SELECT Name as NAME, CAST(OGR_STYLE AS character(32)) AS STYLE FROM
'Fibertech solution' WHERE OGR_GEOMETRY='LINESTRING'
From: alok mathur [mailto:mathuralok...@gmail.com]
Sent: den 12 mars 2015 10:57
To: Schylberg Lars
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] KML reading through OGR
You have to create symbol definitions to use in the mapfile:
Plenty of examples on this page:
http
This was a good exercise to handle KML files.
To get this to work You have to cast the Style value to a string also.
DATA SELECT Name as NAME, CAST(OGR_STYLE AS character(32)) AS STYLE FROM
'Fibertech solution' WHERE OGR_GEOMETRY='LINESTRING'
The Mapfile should something like this:
# Start of
I would write a bash script that starts with using ogrinfo.
Extract all relevant information from ogrinfo with sed, awk and similar tools.
Print the mapfile content of the fly from the bash script with a lot of printf
commands
Quick method in my opinion!
Here is a small extract from an example I
Hi,
I have a follow up question on my question yesterday. I would like to have the
layers in the main called mapfile to be set layers in the client WMS calls.
The WMS client documentation says, http://mapserver.org/ogc/wms_client.html :
wms_name metadata - comma-separated list of layers to be
# Map
From: Smith, Michael ERDC-RDE-CRREL-NH [mailto:michael.sm...@erdc.dren.mil]
Sent: den 6 februari 2015 16:31
To: Schylberg Lars; mapserver-users@lists.osgeo.org
Subject: Re: [EXTERNAL] [mapserver-users] WMS SRS as variable
Lars,
A WMS map can support multiple SRS's. Just list all the ones
.
/Lars
From: Rahkonen Jukka (MML) [mailto:jukka.rahko...@maanmittauslaitos.fi]
Sent: den 9 februari 2015 12:03
To: Schylberg Lars; mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] [EXTERNAL] WMS SRS as variable
Hi,
Ok, I start to understand little by little. It is not about making
Hello,
I wonder if there is a way to set SRS as a variable in a map file.
I have one map file that uses several other WMS clients that also are mapfiles.
I would like to use the SRS as variable to make the WMS service more flexible.
I have tried to do VALIDATION on SRS variable, but that only
Hello,
I have read the following discussion below but have not found out if anything
has happened since then.
http://lists.osgeo.org/pipermail/mapserver-users/2008-December/059123.html
http://lists.osgeo.org/pipermail/mapserver-users/2010-November/067312.html
I have shape files with anchor point
23 matches
Mail list logo