RE: [mapserver-users] PropertyIsLike in combination with AND doesn't work (progress issue 3064)

2010-08-04 Thread Huizer, G.J.
Hi Bart,

Thanks for your quick reply (again) :-D...

Shame to see that our problem isn't fixed yet, but good to know that it
will (Mapserver 5.7 or 6.0 or something).

I'll check out the website. Maybe they can help us!

Thanks again!

Best regards,

Geert


-Oorspronkelijk bericht-
Van: Bart van den Eijnden (OSGIS) [mailto:bart...@osgis.nl] 
Verzonden: woensdag 4 augustus 2010 13:10
Aan: Huizer, G.J. 
CC: mapserver-users@lists.osgeo.org
Onderwerp: RE: [mapserver-users] PropertyIsLike in combination with AND
doesn't work (progress issue 3064)


Hi Geert,

true, it was not fixed in the 5.6 branch, so the only way to get this
fix is to use trunk (also known as Mapserver 5.7 unstable).

Gateway Geomatics provides customized Windows builds as a (paid)
service, so maybe they can help you to either get a patched 5.6 binary
or a current trunk binary (I would advise the last option since after
5.6 a lot of things were still fixed wrt SLD and Filter support).

http://www.gatewaygeomatics.com/

Best regards,
Bart

> Hi Bart,
>
> Thanks for the quick reply. We're working on Windows Server 2003 and 
> are using the ms4w binaries (with Mapserver 5.6.4).
>
> When I look through the ticket I can find that it was fixed in the 
> trunk with ticket 2720, but that it wasn't fixed in the 5.6 branch 
> (that whole trunk and branch work is a bit hazy to me).
>
> My tests suggests that the problem is still there in my version of 
> Mapserver. For example:
>
> This is the filter portion of the SLD:
>
>   
> 
>   
> LOC_ZK
> *WERELD*
>   
>   
> LOC_ZK
> *DAGEN*
>   
> 
>   
>
> And here's class part from the mapfile created by mapserver:
>
> CLASS
>   NAME "class1"
>   EXPRESSION /.*DAGEN.*/
>   STYLE
> ANGLE 360
> COLOR 0 0 255
> SYMBOL 0
> WIDTH 1
>   END
>   STYLE
> ANGLE 360
> OUTLINECOLOR 255 0 0
> SYMBOL 0
> WIDTH 1
>   END
> END
>
> Any help would be appreciated.
>
> Cheers,
>
> Geert
>
>
> -Oorspronkelijk bericht-
> Van: Bart van den Eijnden (OSGIS) [mailto:bart...@osgis.nl]
> Verzonden: woensdag 4 augustus 2010 11:07
> Aan: Huizer, G.J.
> CC: mapserver-users@lists.osgeo.org
> Onderwerp: Re: [mapserver-users] PropertyIsLike in combination with 
> AND doesn't work (progress issue 3064)
>
>
> Hi Geert,
>
> as you can read in the bug report it was fixed in trunk as part of 
> ticket 2720, so it should be working on trunk (since 6 months 
> already).
>
> Which platform are you on? What type of binaries are you using?
>
> Best regards,
> Bart
>
>> hi list,
>>
>> As a Mapserver user I noticed that Mapserver does not accept a filter

>> query where PropertyIsLike and AND are combined. In the issue tracker

>> I read that this is a known issue (#3064). In the issue tracker I saw

>> that there is a patch available, but that still some testing needs to

>> be done on this patch. As I'm no programmer, unfortunately I can not 
>> perform the tests myself.
>>
>> Has anyone any knowledge if and when this patch will be available in 
>> Mapserver?
>>
>> Cheers,
>>
>> Geert
>> ___
>> mapserver-users mailing list
>> mapserver-users@lists.osgeo.org 
>> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>>
>
>
> --
> Looking for flexible support on OpenLayers or GeoExt? Please check out

> http://www.osgis.nl/support.html
>
> Bart van den Eijnden
> OSGIS
> bart...@osgis.nl
>
>


-- 
Looking for flexible support on OpenLayers or GeoExt? Please check out
http://www.osgis.nl/support.html

Bart van den Eijnden
OSGIS
bart...@osgis.nl

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


RE: [mapserver-users] PropertyIsLike in combination with AND doesn't work (progress issue 3064)

2010-08-04 Thread Huizer, G.J.
Hi Bart,

Thanks for the quick reply. We're working on Windows Server 2003 and are
using the ms4w binaries (with Mapserver 5.6.4).

When I look through the ticket I can find that it was fixed in the trunk
with ticket 2720, but that it wasn't fixed in the 5.6 branch (that whole
trunk and branch work is a bit hazy to me).

My tests suggests that the problem is still there in my version of
Mapserver. For example:

This is the filter portion of the SLD:

  

  
LOC_ZK
*WERELD*
  
  
LOC_ZK
*DAGEN*
  

  

And here's class part from the mapfile created by mapserver:

CLASS
  NAME "class1"
  EXPRESSION /.*DAGEN.*/
  STYLE
ANGLE 360
COLOR 0 0 255
SYMBOL 0
WIDTH 1
  END
  STYLE
ANGLE 360
OUTLINECOLOR 255 0 0
SYMBOL 0
WIDTH 1
  END
END

Any help would be appreciated.

Cheers,

Geert


-Oorspronkelijk bericht-
Van: Bart van den Eijnden (OSGIS) [mailto:bart...@osgis.nl] 
Verzonden: woensdag 4 augustus 2010 11:07
Aan: Huizer, G.J. 
CC: mapserver-users@lists.osgeo.org
Onderwerp: Re: [mapserver-users] PropertyIsLike in combination with AND
doesn't work (progress issue 3064)


Hi Geert,

as you can read in the bug report it was fixed in trunk as part of
ticket 2720, so it should be working on trunk (since 6 months already).

Which platform are you on? What type of binaries are you using?

Best regards,
Bart

> hi list,
>
> As a Mapserver user I noticed that Mapserver does not accept a filter
> query where PropertyIsLike and AND are combined. In the issue tracker 
> I read that this is a known issue (#3064). In the issue tracker I saw 
> that there is a patch available, but that still some testing needs to 
> be done on this patch. As I'm no programmer, unfortunately I can not 
> perform the tests myself.
>
> Has anyone any knowledge if and when this patch will be available in
> Mapserver?
>
> Cheers,
>
> Geert
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


-- 
Looking for flexible support on OpenLayers or GeoExt? Please check out
http://www.osgis.nl/support.html

Bart van den Eijnden
OSGIS
bart...@osgis.nl

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


[mapserver-users] PropertyIsLike in combination with AND doesn't work (progress issue 3064)

2010-08-04 Thread Huizer, G.J.
hi list,

As a Mapserver user I noticed that Mapserver does not accept a filter
query where PropertyIsLike and AND are combined. In the issue tracker I
read that this is a known issue (#3064). In the issue tracker I saw that
there is a patch available, but that still some testing needs to be done
on this patch. As I'm no programmer, unfortunately I can not perform the
tests myself. 

Has anyone any knowledge if and when this patch will be available in
Mapserver?

Cheers,

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


[mapserver-users] OGC filtering on date fields

2010-07-15 Thread Huizer, G.J.
Hi list,
 
During some tests with OGC-filters in Mapserver, we where not able to
use the "PropertyIsGreaterThan"  or "PropertyIsLessThan" on date fields.
In the manual of mapserver we found that date fields are interpreted as
a "strings". I also understood that it is not possible to use the <, >,
<=, >= on a "string" so I guess that is where the problem lies.
 
Is there an other way that we can use these operators on a date fields?
(I'm guessing something in the mapfile needs to be added to tell
Mapserver that the field is a date field or something...).
 
Any help would be very much appreciated. Thanks in adance!
 
Cheers,
 
Geert 
 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Filtering GetFeatureInfo requests

2010-05-26 Thread Huizer, G.J.
Thanks Bart for your quick reply. I guess we'll try WFS!

Regards,

Geert


-Oorspronkelijk bericht-
Van: Bart van den Eijnden (OSGIS) [mailto:bart...@osgis.nl] 
Verzonden: woensdag 26 mei 2010 15:54
Aan: Huizer, G.J. 
CC: mapserver-users@lists.osgeo.org
Onderwerp: Re: [mapserver-users] Filtering GetFeatureInfo requests


Not possible using WMS GetFeatureInfo, the SLD parameter will be
ignored, it's not part of the GetFeatureInfo request at all.

Alternatively, you can create a WFS GetFeature request with the same
filter as in the SLD.

Best regards,
Bart

> Hi list,
>
> At the moment I am trying to figure out how to include a filter 
> statement in a GetFeatureInfo request. I already tested this using a 
> SLD-filter which works fine with a GetMap request. However, when 
> combining this with a GetFeatureInfo request, I get all the features 
> at that point. There is no filter being applied.
>
> I'm puzzled.
>
> First of all this is the SLD filter I am using:
>
> 
> 
>   xmlns="http://www.opengis.net/sld";
>   xmlns:ogc="http://www.opengis.net/ogc";
>   xmlns:xlink="http://www.w3.org/1999/xlink";
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>   xsi:schemaLocation="http://www.opengis.net/sld
>   http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd";>
>
>   
> sdo_ldw_ccw_vlk
> 
>   nvt
>   nvt
>   
> 
>   
> 
>   LOC_ZK
>   *WERELD*
> 
>   
> 
>   
> 
>   
> 
>
>
> I use this GetMap request (works fine):
>
> http:///cgi-bin/mapserv.exe?map=\ldw_bsb_sdo.map&LAYERS=
> sd
>
o_ldw_ccw_vlk&STYLES=&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:28992&BBOX=9
>
1000,435250,94000,438250&WIDTH=750&HEIGHT=750&FORMAT=image/png&TRANSPARE
>
NT=FALSE&BGCOLOR=0xFF&SERVICE=WMS&SLD=http:///db_vla_str.xml
>
>
> I use this GetFeatureInfo request (sadly doesn't work):
>
> http:///cgi-bin/mapserv.exe?map=\ldw_bsb_sdo.map&LAYERS=
> sd
>
o_ldw_ccw_vlk&STYLES=&VERSION=1.1.1&REQUEST=GetFeatureInfo&SRS=EPSG:2899
>
2&BBOX=91000,435250,94000,438250&WIDTH=750&HEIGHT=750&QUERY_LAYERS=sdo_l
>
dw_ccw_vlk&X=325&Y=662&SERVICE=WMS&FEATURE_COUNT=25&INFO_FORMAT=applicat
> ion/vnd.ogc.gml&SLD=http:///db_vla_str.xml
>
> I have tested this on Mapserver 5.2.1 and 5.6.3 without success.
>
> Has anyone got an idea how to solve this? Any help would be much 
> appreciated! Thanks in advance.
>
> Geert
>
>
>
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org 
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


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


[mapserver-users] Filtering GetFeatureInfo requests

2010-05-26 Thread Huizer, G.J.
Hi list,

At the moment I am trying to figure out how to include a filter
statement in a GetFeatureInfo request. I already tested this using a
SLD-filter which works fine with a GetMap request. However, when
combining this with a GetFeatureInfo request, I get all the features at
that point. There is no filter being applied.

I'm puzzled. 

First of all this is the SLD filter I am using:



  xmlns="http://www.opengis.net/sld";
  xmlns:ogc="http://www.opengis.net/ogc";
  xmlns:xlink="http://www.w3.org/1999/xlink";
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  xsi:schemaLocation="http://www.opengis.net/sld
  http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd";>
 
  
sdo_ldw_ccw_vlk 

  nvt 
  nvt
  

  

  LOC_ZK
  *WERELD*

  

  

  



I use this GetMap request (works fine):

http:///cgi-bin/mapserv.exe?map=\ldw_bsb_sdo.map&LAYERS=sd
o_ldw_ccw_vlk&STYLES=&VERSION=1.1.1&REQUEST=GetMap&SRS=EPSG:28992&BBOX=9
1000,435250,94000,438250&WIDTH=750&HEIGHT=750&FORMAT=image/png&TRANSPARE
NT=FALSE&BGCOLOR=0xFF&SERVICE=WMS&SLD=http:///db_vla_str.xml


I use this GetFeatureInfo request (sadly doesn't work):

http:///cgi-bin/mapserv.exe?map=\ldw_bsb_sdo.map&LAYERS=sd
o_ldw_ccw_vlk&STYLES=&VERSION=1.1.1&REQUEST=GetFeatureInfo&SRS=EPSG:2899
2&BBOX=91000,435250,94000,438250&WIDTH=750&HEIGHT=750&QUERY_LAYERS=sdo_l
dw_ccw_vlk&X=325&Y=662&SERVICE=WMS&FEATURE_COUNT=25&INFO_FORMAT=applicat
ion/vnd.ogc.gml&SLD=http:///db_vla_str.xml

I have tested this on Mapserver 5.2.1 and 5.6.3 without success.

Has anyone got an idea how to solve this? Any help would be much
appreciated! Thanks in advance.

Geert



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