Re: [mapserver-users] php Mapscript queryByAttributes

2017-10-11 Thread Carlos Ruiz
Regex worked as a LIKE workaround. The backend database is PostgreSQL 9.5.9.

   On Wednesday, October 11, 2017, 4:28:27 PM CDT, Lime, Steve D (MNIT) 
 wrote:  
 
 
What’s the backend database – it’s possible the IN operator is screwy for that 
driver? For the LIKE operator I should have remembered that MapServer doesn’t 
support that operator, try a regex instead:
 
  
 
 queryByAttributes("municipio", "(‘[municipio]’ ~ 'G.*')", MS_MULTIPLE);
 
  
 
Steve
 
  
 
From: Carlos Ruiz [mailto:boolean10...@yahoo.com]
Sent: Wednesday, October 11, 2017 4:03 PM
To: mapserver-users@lists.osgeo.org; Sven Schroeter ; 
Lime, Steve D (MNIT) 
Subject: Re: RE: [mapserver-users] php Mapscript queryByAttributes
 
  
 
Hey Steve,
 
  
 
> the IN operator works off a delimited list, try queryByAttributes("gid", 
> "([gid] IN ‘100,101’)", MS_MULTIPLE);. Any whitespace > is considered part of 
> the tokens in a list.
 
  
 
I have tried this and it doesn't work. There's a query error because Mapserver 
try to add the following:and ("gid"'100,101')
 
  
 
> This is close, it’s a logical expression but you’re comparing a number 
> against a string. It should be
 
> queryByAttributes("municipio", "(‘[municipio]’ LIKE 'G%')", MS_MULTIPLE);
 
  
 
I have tried this and it doesn't work. There's a query error because Mapserver 
try to add the following:and ("municipio"::text'G%')
 
  
 
Maybe this happens because the MS4W version (3.1.3) with Mapserver CGI 7.0.1
 
  
 
  
 
On Wednesday, October 11, 2017, 2:31:41 PM CDT, Lime, Steve D (MNIT) 
 wrote:
 
  
 
  
 
The query syntax is given in MapServer expression syntax. I think there’s a 
logical expression for why you’re seeing these results:
 
 
 
  queryByAttributes("gid", "gid > 100", MS_MULTIPLE) // does not found anything
 
 
 
is evaluated as gid = “gid > 100”. Valid but not what you’re looking for. Your 
last example is the right way to do it - queryByAttributes("gid", "([gid] > 
100)", MS_MULTIPLE);. If MapServer sees the qstring is a logical expression 
then it ignores the qitem.
 
 
 
  queryByAttributes("gid", "100", MS_MULTIPLE) // found one result
 
 
 
is evaluated as gid = 100 which makes sense.
 
 
 
  queryByAttributes("municipio", "'GUADALAJARA'", MS_MULTIPLE) // found one 
result
 
 
 
is evaluated as municipio = GUADALAJARA which makes sense. I don’t think you 
need the interior quotes around GUADALAJARA though.
 
 
 
  queryByAttributes("municipio", "municipio LIKE 'G%'", MS_MULTIPLE) // does 
not found anything
 
 
 
like the first example this evaluates as municipio = "municipio LIKE 'G%'", not 
what you want. See below…
 
 
 
  queryByAttributes("gid", "([gid] IN (100, 101))", MS_MULTIPLE); // query error
 
 
 
the IN operator works off a delimited list, try queryByAttributes("gid", 
"([gid] IN ‘100,101’)", MS_MULTIPLE);. Any whitespace is considered part of the 
tokens in a list.
 
 
 
  queryByAttributes("municipio", "([municipio] LIKE 'G%')", MS_MULTIPLE); // 
query error
 
 
 
This is close, it’s a logical expression but you’re comparing a number against 
a string. It should be queryByAttributes("municipio", "(‘[municipio]’ LIKE 
'G%')", MS_MULTIPLE);
 
 
 
Steve
 
 
 
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org]On Behalf 
Of Carlos Ruiz
Sent: Wednesday, October 11, 2017 1:36 PM
To: mapserver-users@lists.osgeo.org; Sven Schroeter 
Subject: Re: [mapserver-users] php Mapscript queryByAttributes
 
 
 
Sven,
 
 
 
Doing some tests, queryByAttributes does not accept LIKE nor IN, just single 
values or simple operators (I am using PostGIS).
 
 
 
queryByAttributes("gid", "gid > 100", MS_MULTIPLE) // does not found anything
 
queryByAttributes("gid", "100", MS_MULTIPLE) // found one result
 
queryByAttributes("municipio", "'GUADALAJARA'", MS_MULTIPLE) // found one result
 
queryByAttributes("municipio", "municipio LIKE 'G%'", MS_MULTIPLE) // does not 
found anything
 
queryByAttributes("gid", "([gid] IN (100, 101))", MS_MULTIPLE); // query error
 
queryByAttributes("municipio", "([municipio] LIKE 'G%')", MS_MULTIPLE); // 
query error
 
queryByAttributes("gid", "([gid] > 100)", MS_MULTIPLE); // found 25 results
 
 
 
MS4W version is 3.1.3
 
 
 
Try to solve it by using FILTER, which allows more complex expressions:
 
 
 
$layer->setFilter("gid IN (100, 101)");
 
 
 
 
 
Cheers
 
 
 
On Wednesday, October 11, 2017, 10:55:17 AM CDT, Sven Schroeter 
 wrote: 
 
 
 
 
 
Hi,
 
 
 
Old Server: PHP 5.4.36 with MS 6.4.1 (MS4W)
 
New Server: PHP 5.6.31 with MS 7.0.6 (MS4W 3.2.2)
 
 
 
My Test Script:
 
 
 
$qfield = 'gid';
 
$qstring = "gid IN (1,2,3)";
 
@$datQuery = $query_layer->queryByAttributes($qfield,$qstring,MS_MULTIPLE);
 
 
 
Works fine on the old Server, on the new Server no result.
 
 
 
I have tried to change the query expression, i.e.:
 
$qstring = "('[gid]' in '1,2,3')";
 
 
 
No result on old server 

Re: [mapserver-users] Polygon border with marker line symbol

2017-10-11 Thread Håvard Tveite

If you duplicate the layer, one of the layers (type polygon) can provide
the polygon fill and the other (type line) the styled boundary.

Håvard

On 11. okt. 2017 17:45, Anton Bakker wrote:

Hi list,

I am trying to create the following symbology in MapServer, a marker line symbol on 
the border of a polygon, see the following ArcMap screenshot 
(https://i.imgur.com/9qN16tx.png ).

I tried the two following options, but could not manage to recreate the above 
symbology:

1. Renders with marker fill on polygon (https://i.imgur.com/sFFznbq.png 
):

 CLASS
NAME "countries_europe"
STYLE
  ANTIALIAS TRUE
  COLOR 204 204 204
END
STYLE
  ANTIALIAS TRUE
  GAP 30
  OUTLINECOLOR 0 0 0
  COLOR 255 0 0
  SIZE 6
  SYMBOL 'square'
  WIDTH 1.0
END
  END

2. Renders with marker line symbol on polygon border (https://i.imgur.com/Qwrw8wP.png 
), but the marker is missing the fill:

 CLASS
NAME "countries_europe"
STYLE
  ANTIALIAS TRUE
  COLOR 204 204 204
END
STYLE
  ANTIALIAS TRUE
  GAP 30
  OUTLINECOLOR 0 0 0
  SIZE 6
  SYMBOL 'square'
  WIDTH 1.0
END
  END

Does anyone know whether it is possible to achieve this symbology? It seems the 
only way to set a picture line symbol on the border of a polygon is to only set 
the outlinecolor, but then there is no way to set the fill color for the 
marker. I could not find any any information about this in the documentation or 
the mailing list.

Thanks and kind regards,
Anton Bakker

software developer@geocat 
tel. +31 318 416 664






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


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

Re: [mapserver-users] php Mapscript queryByAttributes

2017-10-11 Thread Carlos Ruiz
Hey Steve,
> the IN operator works off a delimited list, tryqueryByAttributes("gid", 
> "([gid] IN ‘100,101’)", MS_MULTIPLE);. Any whitespace > is considered part of 
> the tokens in a list.
I have tried this and it doesn't work. There's a query error because Mapserver 
try to add the following: and ("gid"'100,101')
> This is close, it’s a logical expression but you’re comparing a number 
> against a string. It should be > queryByAttributes("municipio", 
> "(‘[municipio]’ LIKE 'G%')", MS_MULTIPLE);  
I have tried this and it doesn't work. There's a query error because Mapserver 
try to add the following: and ("municipio"::text'G%')

Maybe this happens because the MS4W version (3.1.3) with Mapserver CGI 7.0.1

On Wednesday, October 11, 2017, 2:31:41 PM CDT, Lime, Steve D (MNIT) 
 wrote:  
 
 
The query syntax is given in MapServer expression syntax. I think there’s a 
logical expression for why you’re seeing these results:
 
  
 
  queryByAttributes("gid", "gid > 100", MS_MULTIPLE) // does not found anything
 
  
 
is evaluated as gid = “gid > 100”. Valid but not what you’re looking for. Your 
last example is the right way to do it -queryByAttributes("gid", "([gid] > 
100)", MS_MULTIPLE);. If MapServer sees the qstring is a logical expression 
then it ignores the qitem.
 
  
 
 queryByAttributes("gid", "100", MS_MULTIPLE) // found one result
 
  
 
is evaluated as gid = 100 which makes sense.
 
  
 
 queryByAttributes("municipio", "'GUADALAJARA'", MS_MULTIPLE) // found one 
result
 
  
 
is evaluated as municipio =GUADALAJARA which makes sense. I don’t think you 
need the interior quotes around GUADALAJARA though.
 
  
 
 queryByAttributes("municipio", "municipio LIKE 'G%'", MS_MULTIPLE) // does not 
found anything
 
  
 
like the first example this evaluates asmunicipio = "municipio LIKE 'G%'", not 
what you want. See below…
 
  
 
 queryByAttributes("gid", "([gid] IN (100, 101))", MS_MULTIPLE); // query error
 
  
 
the IN operator works off a delimited list, tryqueryByAttributes("gid", "([gid] 
IN ‘100,101’)", MS_MULTIPLE);. Any whitespace is considered part of the tokens 
in a list.
 
  
 
 queryByAttributes("municipio", "([municipio] LIKE 'G%')", MS_MULTIPLE); // 
query error
 
  
 
This is close, it’s a logical expression but you’re comparing a number against 
a string. It should bequeryByAttributes("municipio", "(‘[municipio]’ LIKE 
'G%')", MS_MULTIPLE);
 
  
 
Steve
 
  
 
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org]On Behalf 
Of Carlos Ruiz
Sent: Wednesday, October 11, 2017 1:36 PM
To: mapserver-users@lists.osgeo.org; Sven Schroeter 
Subject: Re: [mapserver-users] php Mapscript queryByAttributes
 
  
 
Sven,
 
  
 
Doing some tests, queryByAttributes does not accept LIKE nor IN, just single 
values or simple operators (I am using PostGIS).
 
  
 
queryByAttributes("gid", "gid > 100", MS_MULTIPLE) // does not found anything
 
queryByAttributes("gid", "100", MS_MULTIPLE) // found one result
 
queryByAttributes("municipio", "'GUADALAJARA'", MS_MULTIPLE) // found one result
 
queryByAttributes("municipio", "municipio LIKE 'G%'", MS_MULTIPLE) // does not 
found anything
 
queryByAttributes("gid", "([gid] IN (100, 101))", MS_MULTIPLE); // query error
 
queryByAttributes("municipio", "([municipio] LIKE 'G%')", MS_MULTIPLE); // 
query error
 
queryByAttributes("gid", "([gid] > 100)", MS_MULTIPLE); // found 25 results
 
  
 
MS4W version is 3.1.3
 
  
 
Try to solve it by using FILTER, which allows more complex expressions:
 
  
 
$layer->setFilter("gid IN (100, 101)");
 
  
 
  
 
Cheers
 
  
 
On Wednesday, October 11, 2017, 10:55:17 AM CDT, Sven Schroeter 
 wrote:
 
  
 
  
 
Hi,
 
  
 
Old Server: PHP 5.4.36 with MS 6.4.1 (MS4W)
 
New Server: PHP 5.6.31 with MS 7.0.6 (MS4W 3.2.2)
 
  
 
My Test Script:
 
  
 
$qfield = 'gid';
 
$qstring = "gid IN (1,2,3)";
 
@$datQuery = $query_layer->queryByAttributes($qfield,$qstring,MS_MULTIPLE);
 
  
 
Works fine on the old Server, on the new Server no result.
 
  
 
I have tried to change the query expression, i.e.:
 
$qstring = "('[gid]' in '1,2,3')";
 
  
 
No result on old server and new...
 
  
 
How can I get it run on MS7?
 
  
 
  
 
  
 
Thanks + greetings 
 
Sven
 
 
 
  
 
  
 
**
 
NETGIS GbR
 
Benediktinerstr. 32a
 
54292 Trier
 
Tel.: 0651-1704731
 
Fax: 0651-1704733
 
schroe...@netgis.de
 
www.netgis.de
 
  
 
  
 
___
 
mapserver-users mailing list
 
mapserver-users@lists.osgeo.org
 
https://lists.osgeo.org/mailman/listinfo/mapserver-users
   ___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] php Mapscript queryByAttributes

2017-10-11 Thread Lime, Steve D (MNIT)
Try:

  $qfield = 'gid';
  $qstring = "([gid] IN '1,2,3')";
  @$datQuery = $query_layer->queryByAttributes($qfield,$qstring,MS_MULTIPLE);

I'm guessing the layer in question is PostGIS? In older versions of MapServer 
the query string could be given in the native SQL language of underlying 
driver. In 7.0 there was some expression normalization work done where 
expressions and filters are given in MapServer expression syntax and then 
converted to native SQL. It's possible that you've hit an example where the 
translation isn't working as it should.

Steve

-Original Message-
From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Sven Schroeter
Sent: Wednesday, October 11, 2017 10:46 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] php Mapscript queryByAttributes

Hi,

Old Server: PHP 5.4.36 with MS 6.4.1 (MS4W)
New Server: PHP 5.6.31 with MS 7.0.6 (MS4W 3.2.2)

My Test Script:

$qfield = 'gid';
$qstring = "gid IN (1,2,3)";
@$datQuery = $query_layer->queryByAttributes($qfield,$qstring,MS_MULTIPLE);

Works fine on the old Server, on the new Server no result.

I have tried to change the query expression, i.e.:
$qstring = "('[gid]' in '1,2,3')";

No result on old server and new...

How can I get it run on MS7?



Thanks + greetings 
Sven 
 


**
NETGIS GbR
Benediktinerstr. 32a
54292 Trier
Tel.: 0651-1704731
Fax: 0651-1704733
schroe...@netgis.de
www.netgis.de


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

Re: [mapserver-users] php Mapscript queryByAttributes

2017-10-11 Thread Lime, Steve D (MNIT)
The query syntax is given in MapServer expression syntax. I think there’s a 
logical expression for why you’re seeing these results:

  queryByAttributes("gid", "gid > 100", MS_MULTIPLE) // does not found anything

is evaluated as gid = “gid > 100”. Valid but not what you’re looking for. Your 
last example is the right way to do it - queryByAttributes("gid", "([gid] > 
100)", MS_MULTIPLE);. If MapServer sees the qstring is a logical expression 
then it ignores the qitem.

  queryByAttributes("gid", "100", MS_MULTIPLE) // found one result

is evaluated as gid = 100 which makes sense.

  queryByAttributes("municipio", "'GUADALAJARA'", MS_MULTIPLE) // found one 
result

is evaluated as municipio = GUADALAJARA which makes sense. I don’t think you 
need the interior quotes around GUADALAJARA though.

  queryByAttributes("municipio", "municipio LIKE 'G%'", MS_MULTIPLE) // does 
not found anything

like the first example this evaluates as municipio = "municipio LIKE 'G%'", not 
what you want. See below…

  queryByAttributes("gid", "([gid] IN (100, 101))", MS_MULTIPLE); // query error

the IN operator works off a delimited list, try queryByAttributes("gid", 
"([gid] IN ‘100,101’)", MS_MULTIPLE);. Any whitespace is considered part of the 
tokens in a list.

  queryByAttributes("municipio", "([municipio] LIKE 'G%')", MS_MULTIPLE); // 
query error

This is close, it’s a logical expression but you’re comparing a number against 
a string. It should be queryByAttributes("municipio", "(‘[municipio]’ LIKE 
'G%')", MS_MULTIPLE);

Steve

From: mapserver-users [mailto:mapserver-users-boun...@lists.osgeo.org] On 
Behalf Of Carlos Ruiz
Sent: Wednesday, October 11, 2017 1:36 PM
To: mapserver-users@lists.osgeo.org; Sven Schroeter 
Subject: Re: [mapserver-users] php Mapscript queryByAttributes

Sven,

Doing some tests, queryByAttributes does not accept LIKE nor IN, just single 
values or simple operators (I am using PostGIS).

queryByAttributes("gid", "gid > 100", MS_MULTIPLE) // does not found anything
queryByAttributes("gid", "100", MS_MULTIPLE) // found one result
queryByAttributes("municipio", "'GUADALAJARA'", MS_MULTIPLE) // found one result
queryByAttributes("municipio", "municipio LIKE 'G%'", MS_MULTIPLE) // does not 
found anything
queryByAttributes("gid", "([gid] IN (100, 101))", MS_MULTIPLE); // query error
queryByAttributes("municipio", "([municipio] LIKE 'G%')", MS_MULTIPLE); // 
query error
queryByAttributes("gid", "([gid] > 100)", MS_MULTIPLE); // found 25 results

MS4W version is 3.1.3

Try to solve it by using FILTER, which allows more complex expressions:

$layer->setFilter("gid IN (100, 101)");


Cheers

On Wednesday, October 11, 2017, 10:55:17 AM CDT, Sven Schroeter 
> wrote:


Hi,

Old Server: PHP 5.4.36 with MS 6.4.1 (MS4W)
New Server: PHP 5.6.31 with MS 7.0.6 (MS4W 3.2.2)

My Test Script:

$qfield = 'gid';
$qstring = "gid IN (1,2,3)";
@$datQuery = $query_layer->queryByAttributes($qfield,$qstring,MS_MULTIPLE);

Works fine on the old Server, on the new Server no result.

I have tried to change the query expression, i.e.:
$qstring = "('[gid]' in '1,2,3')";

No result on old server and new...

How can I get it run on MS7?



Thanks + greetings
Sven



**
NETGIS GbR
Benediktinerstr. 32a
54292 Trier
Tel.: 0651-1704731
Fax: 0651-1704733
schroe...@netgis.de
www.netgis.de


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

Re: [mapserver-users] Polygon border with marker line symbol

2017-10-11 Thread lars . schylberg

Hi,

I guess that your symbol definition of square says filled false,  it should be 
be filled true. Do another symbol.
Next thing is that if You would like to do fancy borders symbols along a 
polygon you could set LAYER - TYPE  to line.
The syntax becomes easier.  Last thing is to get the symbols to rotate with the 
line you should set gap to a negative value.

I made a small example to show this.  Save this to line-with-squares.map and 
run it with:
shp2img -m line-square-test.map -o line-square-test.png

/Lars S.
_

MAP
  SIZE 1000 1000
  IMAGETYPE png24
  EXTENT -30 -10 60 30
  UNITS DD

SYMBOL
    NAME "square_filled"
    TYPE VECTOR
    POINTS
    0 0 
    0 1
    1 1
    1 0
    0 0
    END
    FILLED TRUE
END

LAYER  # Simple polygon
  STATUS DEFAULT
  TYPE LINE
  FEATURE
    POINTS
  5 25
  25 20
  45 20
  35 15
  50 0
  0 5
  5 25
    END # Points
  END # Feature

  CLASS  
    NAME "Symboltest"
    STYLE
    SYMBOL "square_filled"
    COLOR 255 0 0 
    SIZE 12
    INITIALGAP 15
    GAP -30
    OUTLINECOLOR 0 0 0
    WIDTH 2.0
    END  #STYLE    
    END # CLASS
END # LAYER
END # MAP

---


-Originalmeddelande-
Från: "Anton Bakker" 
Till: mapserver-users@lists.osgeo.org
Datum: 2017-10-11 17:45
Ämne: [mapserver-users] Polygon border with marker line symbol

Hi list,


I am trying to create the following symbology in MapServer, a marker line 
symbol on the border of a polygon, see the following ArcMap screenshot 
(https://i.imgur.com/9qN16tx.png). 


I tried the two following options, but could not manage to recreate the above 
symbology:


1. Renders with marker fill on polygon (https://i.imgur.com/sFFznbq.png):


CLASS
   NAME "countries_europe"
   STYLE
     ANTIALIAS TRUE
     COLOR 204 204 204
   END
   STYLE
     ANTIALIAS TRUE
     GAP 30
     OUTLINECOLOR 0 0 0
     COLOR 255 0 0 
     SIZE 6
     SYMBOL 'square'
     WIDTH 1.0
   END
 END


2. Renders with marker line symbol on polygon border 
(https://i.imgur.com/Qwrw8wP.png), but the marker is missing the fill:


CLASS
   NAME "countries_europe"
   STYLE
     ANTIALIAS TRUE
     COLOR 204 204 204
   END
   STYLE
     ANTIALIAS TRUE
     GAP 30
     OUTLINECOLOR 0 0 0
     SIZE 6
     SYMBOL 'square'
     WIDTH 1.0
   END
 END


Does anyone know whether it is possible to achieve this symbology? It seems the 
only way to set a picture line symbol on the border of a polygon is to only set 
the outlinecolor, but then there is no way to set the fill color for the 
marker. I could not find any any information about this in the documentation or 
the mailing list. 


Thanks and kind regards,
Anton Bakker


software developer@geocat 
tel. +31 318 416 664 




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





-- 
 

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

[mapserver-users] php Mapscript queryByAttributes

2017-10-11 Thread Sven Schroeter
Hi,

Old Server: PHP 5.4.36 with MS 6.4.1 (MS4W)
New Server: PHP 5.6.31 with MS 7.0.6 (MS4W 3.2.2)

My Test Script:

$qfield = 'gid';
$qstring = "gid IN (1,2,3)";
@$datQuery = $query_layer->queryByAttributes($qfield,$qstring,MS_MULTIPLE);

Works fine on the old Server, on the new Server no result.

I have tried to change the query expression, i.e.:
$qstring = "('[gid]' in '1,2,3')";

No result on old server and new...

How can I get it run on MS7?



Thanks + greetings 
Sven 
 


**
NETGIS GbR
Benediktinerstr. 32a
54292 Trier
Tel.: 0651-1704731
Fax: 0651-1704733
schroe...@netgis.de
www.netgis.de


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

[mapserver-users] Polygon border with marker line symbol

2017-10-11 Thread Anton Bakker
Hi list,

I am trying to create the following symbology in MapServer, a marker line 
symbol on the border of a polygon, see the following ArcMap screenshot 
(https://i.imgur.com/9qN16tx.png ). 

I tried the two following options, but could not manage to recreate the above 
symbology:

1. Renders with marker fill on polygon (https://i.imgur.com/sFFznbq.png 
):

 CLASS
NAME "countries_europe"
STYLE
  ANTIALIAS TRUE
  COLOR 204 204 204
END
STYLE
  ANTIALIAS TRUE
  GAP 30
  OUTLINECOLOR 0 0 0
  COLOR 255 0 0 
  SIZE 6
  SYMBOL 'square'
  WIDTH 1.0
END
  END

2. Renders with marker line symbol on polygon border 
(https://i.imgur.com/Qwrw8wP.png ), but the 
marker is missing the fill:

 CLASS
NAME "countries_europe"
STYLE
  ANTIALIAS TRUE
  COLOR 204 204 204
END
STYLE
  ANTIALIAS TRUE
  GAP 30
  OUTLINECOLOR 0 0 0
  SIZE 6
  SYMBOL 'square'
  WIDTH 1.0
END
  END

Does anyone know whether it is possible to achieve this symbology? It seems the 
only way to set a picture line symbol on the border of a polygon is to only set 
the outlinecolor, but then there is no way to set the fill color for the 
marker. I could not find any any information about this in the documentation or 
the mailing list. 

Thanks and kind regards,
Anton Bakker

software developer@geocat  
tel. +31 318 416 664 



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