Hi Carlos,
If you add DEBUG 5 to the LAYER, and set the CONFIG MS_ERRORFILE do you get
more details in the logs for why the filter is failing?
The error indicates MapServer cannot parse the filter. The unencoded filter is
shown below.
http://www.opengis.net/fes/2.0";
xmlns:gml="http://www.ope
Hi,
I have a WFS version 2.0.0 and I want to request from it features using a
filter but I get this error:
msWFSGetFeature(): WFS server error. Invalid or Unsupported FILTER in
GetFeature : https://SERVER/wfs?SERVICE=WFS&REQUEST=GetFeature&VERSION=2.0.0&TYPENAMES=ms:layername&STARTINDEX=0&COUNT=
Hi all,
I've run into a strange issue when using a WFS filter with spaces and an
OGRCONNECTION.
I think I've narrowed it down to involving the following:
1. Using OGR CONNECTION (the filter is fine when using MapServer Shapefile
connection) with a shapefile
2. Via a web server (I'm using IIS)
I will try out a newer version on Monday. I will keep you updated.
I detected the problem using a 7.2 version and then updated to 7.4.2, but the
problem was still occurring.
Thanks for your reply !
Michael
___
mapserver-users mailing list
ma
You have to get a little more recent... Those changes didn't appear until
7.4.3. --Steve
On Fri, Jan 24, 2020 at 2:27 AM Kalbermatten Michaël <
michael.kalbermat...@ne.ch> wrote:
> Hi Steve,
>
>
>
> Thanks for the quick answer and sorry for my late reply.
>
>
>
> I downloaded the latest stable re
Hi Steve,
Thanks for the quick answer and sorry for my late reply.
I downloaded the latest stable release which can be found on the gisinternals
website. On the 17th January 2020, that would have been
release-1900-x64-gdal-3-0-2-mapserver-7-4-2, which I think is the latest
release. Should I tr
Hi Michaël: What version are you using? There were some fixes related to
rendering queries in the latest 7.4 release.
—Steve
On Friday, January 17, 2020, Kalbermatten Michaël <
michael.kalbermat...@ne.ch> wrote:
> Dear all,
>
>
>
> We have quite a strange filter behavior.
>
>
>
> We have a layer
Dear all,
We have quite a strange filter behavior.
We have a layer (relying on PostGIS data and with multine geometries)
containing several classes with some of them having multiple STYLE tags.
Something like:
CLASS
NAME "Ouvrages d'art"
EXPRESSION "Ouvrages d'art"
STYLE
C
..@lists.osgeo.org<mailto:mapserver-users-boun...@lists.osgeo.org>
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Friday, April 12, 2013 11:36 AM
To: mapserver-users@lists.osgeo.org<mailto:mapserver-users@lists.osgeo.org>
Subject: [mapserver-users] F
^[0-9]{1,2}/[0-9]{1,2}/[0-9]{4}$")
Steve
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Friday, April 12, 2013 11:36 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Filter by date
Hello Lis
Hello List
How would I FILTER a data set by the month and year ignoring the day. An
example of the field format is 1/11/2010. I found the example below in the
docs but I'm not quite sure how to format the filter to account for the
slashes. Any help is greatly appreciated.
FILTERITEM "year"
Hi,
I searching how to convert a sql request like "where field1 in (value1, value2,
..., valueN)"
into a FILTER clause inside a map file (layer block)
I tried "FILTER ([field1] in (value1, value2, ..., valueN))"
But it doesn't work
Though it works fine when "FILTER ([field1] = value1)"
My data
Hi,
I am also be interested in learning how to use boolean
attributes in filter expressions.
I have also tried to get a filter expression with a
boolean attribute to work, but have had no luck. My
data source was PostGIS.
I did a workaround in SQL to get integers instead
(CASE WHEN booleanvariab
Hi,
I am trying to use a filter expression to only display features where a value
is true in a Boolean field coming from an MSSQL Spatial datasource. It seems
like every syntax I try MapServer comes back with "An expression of non-boolean
type specified in a context where a condition is expecte
On 09/02/2011 14:02, Julien Cigar wrote:
couldn't you use WHERE ST_GeometryType(col) = "ST_Point" ?
also note that to avoid a seqscan you should create an appropriate index:
CREATE INDEX your_index ON your_table(ST_GeometryType(geom)) WHERE
ST_GeometryType(geom) = 'ST_Point';
On 09/02/201
couldn't you use WHERE ST_GeometryType(col) = "ST_Point" ?
On 09/02/2011 13:50, kaipi wrote:
I have a PostGIS database with polygon, line and point features. I want to
make a Mapserver layer, that only displays the point features. AFAIK without
such filtering Mapserver would render in a Point-Ty
I have a PostGIS database with polygon, line and point features. I want to
make a Mapserver layer, that only displays the point features. AFAIK without
such filtering Mapserver would render in a Point-Type-Layer also the polygon
features as points.
How would a FILTER or EXPRESSION look like to tel
2010 19:44
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] Filter Encoding with Spatial Filter withinWFS-Request
Dear MapServer-User,
I configured MapServer version 5.6.5 as WMS- and WFS-Server to offer
information about land and properties. I use PostgreSQL/PostGIS (8.4.4/
Dear MapServer-User,
I configured MapServer version 5.6.5 as WMS- and WFS-Server to offer
information about land and properties. I use PostgreSQL/PostGIS (8.4.4/1.5.1)
as datastore in this case. The spatial reference system is EPSG:25832 und the
type of the geometry is MULTIPOLYGON. OS is Suse L
tml
>
> I must add the of the whole map to the filter and I'll get all
> matches.
>
> Regards,
> Cathleen
>
>
>
> Von: Alexander Petkov
> An: leene
> CC: mapserver-users@lists.osgeo.org
> Gesendet: Mittwoch, den 3. N
Alexander Petkov
An: leene
CC: mapserver-users@lists.osgeo.org
Gesendet: Mittwoch, den 3. November 2010, 20:30:39 Uhr
Betreff: Re: [mapserver-users] Filter elements on multiple layers
Hmm, I just tested this--it seems that you'd always get features where
the envelopes for the results
Hmm, I just tested this--it seems that you'd always get features where
the envelopes for the results from each layer spatially intersect,
(i.e. anything within the blue rectangle of your image).
Alex
On Wed, Nov 3, 2010 at 11:37 AM, Alexander Petkov wrote:
> You might have to specify your filte
You might have to specify your filter for each typename, as in:
http://my-server/fcgi-bin/mapserv&map=mymap.map&service=WFS&version=1.1.0&request=GetFeature&typename=layer1,layer2&FILTER=(...)(...)
See this thread:
http://www.mail-archive.com/mapserver-users@lists.osgeo.org/msg10695.html
Alex
Hi,
I try to render simplified S57 files using MapServer with flash output. But
there are maps at various scales for the same area, which overlap. It is not
a problem for land or sea area, but I want to filter features to avoid
duplicates entries. In the S57 files, there is a worldwide identifier
leene wrote:
>
> By the way: Is there a date of mapserver 6 release?
> http://trac.osgeo.org/mapserver/wiki/60ReleasePlan doesn't seem to be up
> to date.
>
At the FOSS4G Code Sprint in September [1] we talked about aiming for a
feature freeze around Nov 15th and a final release around end of
J
Hey,
I have a problem with filtering elements of multiple layers.
My mapserver (version 5.2.1) is configured with two layers - layer1 and layer2.
For better understanding see attachment: layer1 has black crosses and layer2
has
red points. Now I try to get features by id - but I don't know the
c
I have set up a mapserver wfs-server. Works fine, except that I cannot get
Filter= to work. I tried urls like those at the bottom on
http://mapserver.org/ogc/filter_encoding.html , but got all the data back in
all cases. I tested it in a browser and to a working url, I appended
&Filter=status
You can use runtime substitutions to change values within a FILTER as you go.
For example your
FILTER could be written like so:
FILTER ("multimedia='[multimedia]' and seats >= [nseats] and Sound= '[sound]')
Then (assuming you're using the CGI interface) you could pass in variables
named multi
May be the problem is the sintax; Try:
FILTER ( ('[multimedia]' = 'yes') AND ('[seats]' >= 95) AND ('[Sound]' =
'yes') )
2009/2/19 A.Pratheepan
>
> Hi
> i'm New one to map server. I'm Using PostgreSQL 8.3 with pgAdminIII and
> post GIS. Upto now I've populated my database in post GIS and Map
> -Opprinnelig melding-
> Fra: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-
> boun...@lists.osgeo.org] På vegne av prathe...@gmail.com
> Sendt: 20. februar 2009 05:33
> Til: mapserver-users@lists.osgeo.org
> Emne: [mapserver-users] FILTER
>
> I
I want to filter my layer accoring to client's prefernce, via the client
interfACE. How can i sent user input to the map file under the layer, Filter?
Pls anyone help me
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.
Hi
i'm New one to map server. I'm Using PostgreSQL 8.3 with pgAdminIII and post
GIS. Upto now I've populated my database in post GIS and Map also working
succesfully. Now my problem is Filter. Filter is working without any problem
under my layer(lecture_hall layer). Ex FILTER ("multimedia='yes' and
I want to pass in a string of values in one variable and filter on them as
if they are in an OR clause.
I've tried the following which works fine:
FILTER "Castles"
FILTERITEM "CategoryNa"
Now I want to filter on 2 sets like this:
FILTER "Castles OR Battlefields"
FILTERITEM "Catego
33 matches
Mail list logo