Re: AW: [mapserver-users] Some issues with SLD and MapServer 6.0.0 Beta RC1

2011-05-02 Thread Yewondwossen Assefa

On 29/04/2011 5:38 PM, Arnd Wippermann wrote:

Hi

Here you can online see

external graphic mostly not showing
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServ
er_SLD_World.asp?SLDsrcIdx=51mapservVersion=6.0.0

Perhaps it has something to do with the complexity of the polygons. Locally
test with simplier polygons works. But also with the simplier polygons it
doesn't show the graphic if i apply the sld file from
http://demo.mapserver.org/ogc-demos/map/sld/sld_polygon_fill_symbol_external
.xml (gif image).

Rotated square not like 5.6.1
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServ
er_SLD_World.asp?SLDsrcIdx=51mapservVersion=6.0.0

Are the above 2 demos still work? I see broken tiles. As I mentioned 
initially, I was not able to see the problem with my test using external 
symbols. I just also used a copy of your sld (pointing to an external 
symbol on your server) and was also able to get expected result. Same 
with the sld on mapserver site.
Please file a bug with data/map that shows the problem and I can spend 
more time on it.

borders as thin lines without stroke set
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServ
er_SLD_World.asp?SLDsrcIdx=52mapservVersion=6.0.0

I see that on your server. One test to do is to put your map in debug 
and see the map file that is produced after the sld is applied. It 
should only have one class with one style for the fill. If that is not 
that case, please report.

The patch I cannot test. I'm not able to compile MapServer by myself.

Thank for watching the points
I will apply the patch when MapServer trac/svn come back. It should be 
available fr the next release.


best regards,



Regards,
Arnd


--

Assefa Yewondwossen
Software Analyst

Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



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


Re: [mapserver-users] Some issues with SLD and MapServer 6.0.0 Beta RC1

2011-04-29 Thread Yewondwossen Assefa

On 28/04/2011 3:12 PM, Yewondwossen Assefa wrote:
Sorry I hit send  with finishing the e-mail. I will through each items 
tomorrow and report.


On 28/04/2011 3:10 PM, Yewondwossen Assefa wrote:

On 28/04/2011 9:34 AM, Arnd Wippermann wrote:

Hi,

I'm interested in map styling with SLD and have tested it locally with
MapServer 6.0.0 Beta RC1 windows binaries from www.gisinternals.com.

I have created an online application to play with SLD and the different
MapServer versions.
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServ 


er_SLD_World.asp

There the below issues can be seen. For the online application I 
have only

6.0.0 Beta 7 available, but it is the same with RC1.

Most things work great and create a good looking output.

But some things doesn't work as expected.

1.
It seems, that the output directory for debug is set static to
C:\Windows\Temp.
msApplySLD(): Map file after SLD was applied
C:\WINDOWS\TEMP\4db963c5_ab0_1._sld.map
IMGPATH or IMGURL is not take in account.

Temporary files are now written into the tmp directory location. It 
depends on the platform but should respect the environment variables 
set on your platform regarding temporary paths. It is not hardcoded 
in Mapserver.  Ticket http://trac.osgeo.org/mapserver/ticket/3354 has 
notes on this.



2. fill external symbol
Polygon fill with external graphic is erratic. If I zoom in one 
level i get

one tile (South America).
It creates a file
http%3A%2F%2Fgis.ibbeck.de%2FOLClient%2FSLD%2Fsmileyface.png in
C:\Windows\Temp.
I am not sure I could reproduce this. With local test file, I was able 
to get a fill polygon with external symbol working.
If you have a simple map/data I can use, you can create a trac bug and 
attach it to them and assign it to me (osgeoid: assefa)




3. Continent, Continent_Else
Filter PropertyIsLike doesn't work. With 5.6.1 it is ok.
Expression from generated mapfile : EXPRESSION ([Continent] =~ 
/^Africa/)


4. or_like_abcdef
Filter Or and PropertyIsLike doesn't work. With 5.6.1 only the last 
entry of

PropertyIsLike are taken.
With Or and PropertyIsEqualTo all entries are taken in both versions.
Expression from generated mapfile (6 beta): EXPRESSION ( 
([country] =~

/^A/) Or  ( ([country] =~ /^B/) Or  ( ([country] =~ /^C/) Or  (
([country] =~ /^D/) Or  ( ([country] =~ /^E/) Or  ([country] 
=~ /^F/))

) ) ) )

msEvalExpression: Expression parser error. Failed to parse expression:
([country] =~ /^A/) Or ...

With changing =* to ~* and / to  the mapfile works :
EXPRESSION ( ([country] ~* ^A) Or  ( ([country] ~* ^B) Or ...

It seems, that in the generated mapfile is a wrong expression.



I was able to reproduce this. I have added a bug 
(http://trac.osgeo.org/mapserver/ticket/3855) on it and a patch that 
should correct the issue. Is it  possible for you to test the patch and 
report through the bug? Thx




5. symbol fill rotated
Polygon fill with rotated square looks interesting, but not as 
expected. Try

with 5.6.1.

Here again I tried vectir synbols (weel-know sld symbols like star) as 
well as the graphic symbols but could not see a problem. The roration 
parameter should translate into an angle parameter in the style. I have 
tried this using agg output. Here again if you have test data that 
demonstrate it please open a trac bug.




6. fill solid
Polygon with solid fill without stroke shows thin lines of the borders.



Same as above.


Some other issues are likely not supported by MapServer, but would 
be nice

to have them.






A.
Changing the hatch width with sld. see group3, hatch as it is 
possible

with mapfile class.

B.
UserStyles from applied SLD not supported in WMS Styles

C.
WMS request GetStyles creates only one userstyle with rules from the
different styles described in the mapfile. Should it not create 
different

userstyles for each style described in the mapfile?

Regards,
Arnd






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









For new features/enhancements, It would also be better to add them in 
trac and mark them as enhancements. They can be addressed for future 
versions  6.0.


best regards,


--

Assefa Yewondwossen
Software Analyst

Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



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


AW: [mapserver-users] Some issues with SLD and MapServer 6.0.0 Beta RC1

2011-04-29 Thread Arnd Wippermann
Hi 

Here you can online see 

external graphic mostly not showing
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServ
er_SLD_World.asp?SLDsrcIdx=51mapservVersion=6.0.0

Perhaps it has something to do with the complexity of the polygons. Locally
test with simplier polygons works. But also with the simplier polygons it
doesn't show the graphic if i apply the sld file from
http://demo.mapserver.org/ogc-demos/map/sld/sld_polygon_fill_symbol_external
.xml (gif image).

Rotated square not like 5.6.1
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServ
er_SLD_World.asp?SLDsrcIdx=51mapservVersion=6.0.0

borders as thin lines without stroke set
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServ
er_SLD_World.asp?SLDsrcIdx=52mapservVersion=6.0.0 

The patch I cannot test. I'm not able to compile MapServer by myself.

Thank for watching the points

Regards,
Arnd



-Ursprüngliche Nachricht-
Von: Yewondwossen Assefa [mailto:yass...@dmsolutions.ca] 
Gesendet: Freitag, 29. April 2011 19:48
An: Arnd Wippermann
Cc: mapserver-users@lists.osgeo.org
Betreff: Re: [mapserver-users] Some issues with SLD and MapServer 6.0.0 Beta
RC1

On 28/04/2011 3:12 PM, Yewondwossen Assefa wrote:
 Sorry I hit send  with finishing the e-mail. I will through each items 
 tomorrow and report.

 On 28/04/2011 3:10 PM, Yewondwossen Assefa wrote:
 On 28/04/2011 9:34 AM, Arnd Wippermann wrote:
 Hi,

 I'm interested in map styling with SLD and have tested it locally 
 with MapServer 6.0.0 Beta RC1 windows binaries from
www.gisinternals.com.

 I have created an online application to play with SLD and the 
 different MapServer versions.
 http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World
 /MapServ

 er_SLD_World.asp

 There the below issues can be seen. For the online application I 
 have only 6.0.0 Beta 7 available, but it is the same with RC1.

 Most things work great and create a good looking output.

 But some things doesn't work as expected.

 1.
 It seems, that the output directory for debug is set static to 
 C:\Windows\Temp.
 msApplySLD(): Map file after SLD was applied 
 C:\WINDOWS\TEMP\4db963c5_ab0_1._sld.map
 IMGPATH or IMGURL is not take in account.

 Temporary files are now written into the tmp directory location. It 
 depends on the platform but should respect the environment variables 
 set on your platform regarding temporary paths. It is not hardcoded 
 in Mapserver.  Ticket http://trac.osgeo.org/mapserver/ticket/3354 has 
 notes on this.

 2. fill external symbol
 Polygon fill with external graphic is erratic. If I zoom in one 
 level i get one tile (South America).
 It creates a file
 http%3A%2F%2Fgis.ibbeck.de%2FOLClient%2FSLD%2Fsmileyface.png in 
 C:\Windows\Temp.
I am not sure I could reproduce this. With local test file, I was able to
get a fill polygon with external symbol working.
If you have a simple map/data I can use, you can create a trac bug and
attach it to them and assign it to me (osgeoid: assefa)


 3. Continent, Continent_Else
 Filter PropertyIsLike doesn't work. With 5.6.1 it is ok.
 Expression from generated mapfile : EXPRESSION ([Continent] =~
 /^Africa/)

 4. or_like_abcdef
 Filter Or and PropertyIsLike doesn't work. With 5.6.1 only the last 
 entry of PropertyIsLike are taken.
 With Or and PropertyIsEqualTo all entries are taken in both versions.
 Expression from generated mapfile (6 beta): EXPRESSION ( 
 ([country] =~
 /^A/) Or  ( ([country] =~ /^B/) Or  ( ([country] =~ /^C/) Or  ( 
 ([country] =~ /^D/) Or  ( ([country] =~ /^E/) Or  ([country]
 =~ /^F/))
 ) ) ) )

 msEvalExpression: Expression parser error. Failed to parse expression:
 ([country] =~ /^A/) Or ...

 With changing =* to ~* and / to  the mapfile works :
 EXPRESSION ( ([country] ~* ^A) Or  ( ([country] ~* ^B) Or ...

 It seems, that in the generated mapfile is a wrong expression.


I was able to reproduce this. I have added a bug
(http://trac.osgeo.org/mapserver/ticket/3855) on it and a patch that should
correct the issue. Is it  possible for you to test the patch and report
through the bug? Thx


 5. symbol fill rotated
 Polygon fill with rotated square looks interesting, but not as 
 expected. Try with 5.6.1.

Here again I tried vectir synbols (weel-know sld symbols like star) as well
as the graphic symbols but could not see a problem. The roration parameter
should translate into an angle parameter in the style. I have tried this
using agg output. Here again if you have test data that demonstrate it
please open a trac bug.


 6. fill solid
 Polygon with solid fill without stroke shows thin lines of the borders.


Same as above.


 Some other issues are likely not supported by MapServer, but would 
 be nice to have them.




 A.
 Changing the hatch width with sld. see group3, hatch as it is 
 possible with mapfile class.

 B.
 UserStyles from applied SLD not supported in WMS Styles

 C.
 WMS request GetStyles creates only one userstyle with rules

[mapserver-users] Some issues with SLD and MapServer 6.0.0 Beta RC1

2011-04-28 Thread Arnd Wippermann
Hi,

I'm interested in map styling with SLD and have tested it locally with
MapServer 6.0.0 Beta RC1 windows binaries from www.gisinternals.com.

I have created an online application to play with SLD and the different
MapServer versions.
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServ
er_SLD_World.asp

There the below issues can be seen. For the online application I have only
6.0.0 Beta 7 available, but it is the same with RC1.

Most things work great and create a good looking output. 

But some things doesn't work as expected.

1. 
It seems, that the output directory for debug is set static to
C:\Windows\Temp. 
msApplySLD(): Map file after SLD was applied
C:\WINDOWS\TEMP\4db963c5_ab0_1._sld.map
IMGPATH or IMGURL is not take in account.

2. fill external symbol
Polygon fill with external graphic is erratic. If I zoom in one level i get
one tile (South America).
It creates a file
http%3A%2F%2Fgis.ibbeck.de%2FOLClient%2FSLD%2Fsmileyface.png in
C:\Windows\Temp.

3. Continent, Continent_Else
Filter PropertyIsLike doesn't work. With 5.6.1 it is ok.
Expression from generated mapfile : EXPRESSION ([Continent] =~ /^Africa/)

4. or_like_abcdef
Filter Or and PropertyIsLike doesn't work. With 5.6.1 only the last entry of
PropertyIsLike are taken.
With Or and PropertyIsEqualTo all entries are taken in both versions.
Expression from generated mapfile (6 beta): EXPRESSION ( ([country] =~
/^A/) Or  ( ([country] =~ /^B/) Or  ( ([country] =~ /^C/) Or  (
([country] =~ /^D/) Or  ( ([country] =~ /^E/) Or  ([country] =~ /^F/))
) ) ) )

msEvalExpression: Expression parser error. Failed to parse expression:
([country] =~ /^A/) Or ...

With changing =* to ~* and / to  the mapfile works : 
EXPRESSION ( ([country] ~* ^A) Or  ( ([country] ~* ^B) Or ...

It seems, that in the generated mapfile is a wrong expression.

5. symbol fill rotated
Polygon fill with rotated square looks interesting, but not as expected. Try
with 5.6.1.

6. fill solid
Polygon with solid fill without stroke shows thin lines of the borders.

Some other issues are likely not supported by MapServer, but would be nice
to have them.

A.
Changing the hatch width with sld. see group3, hatch as it is possible
with mapfile class.

B.
UserStyles from applied SLD not supported in WMS Styles

C.
WMS request GetStyles creates only one userstyle with rules from the
different styles described in the mapfile. Should it not create different
userstyles for each style described in the mapfile?

Regards,
Arnd






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


Re: [mapserver-users] Some issues with SLD and MapServer 6.0.0 Beta RC1

2011-04-28 Thread Yewondwossen Assefa

On 28/04/2011 9:34 AM, Arnd Wippermann wrote:

Hi,

I'm interested in map styling with SLD and have tested it locally with
MapServer 6.0.0 Beta RC1 windows binaries from www.gisinternals.com.

I have created an online application to play with SLD and the different
MapServer versions.
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServ
er_SLD_World.asp

There the below issues can be seen. For the online application I have only
6.0.0 Beta 7 available, but it is the same with RC1.

Most things work great and create a good looking output.

But some things doesn't work as expected.

1.
It seems, that the output directory for debug is set static to
C:\Windows\Temp.
msApplySLD(): Map file after SLD was applied
C:\WINDOWS\TEMP\4db963c5_ab0_1._sld.map
IMGPATH or IMGURL is not take in account.

Temporary files are now written into the tmp directory location. It 
depends on the platform but should respect the environment variables set 
on your platform regarding temporary paths. It is not hardcoded in 
Mapserver.  Ticket http://trac.osgeo.org/mapserver/ticket/3354 has notes 
on this.



2. fill external symbol
Polygon fill with external graphic is erratic. If I zoom in one level i get
one tile (South America).
It creates a file
http%3A%2F%2Fgis.ibbeck.de%2FOLClient%2FSLD%2Fsmileyface.png in
C:\Windows\Temp.

3. Continent, Continent_Else
Filter PropertyIsLike doesn't work. With 5.6.1 it is ok.
Expression from generated mapfile : EXPRESSION ([Continent] =~ /^Africa/)

4. or_like_abcdef
Filter Or and PropertyIsLike doesn't work. With 5.6.1 only the last entry of
PropertyIsLike are taken.
With Or and PropertyIsEqualTo all entries are taken in both versions.
Expression from generated mapfile (6 beta): EXPRESSION ( ([country] =~
/^A/) Or  ( ([country] =~ /^B/) Or  ( ([country] =~ /^C/) Or  (
([country] =~ /^D/) Or  ( ([country] =~ /^E/) Or  ([country] =~ /^F/))
) ) ) )

msEvalExpression: Expression parser error. Failed to parse expression:
([country] =~ /^A/) Or ...

With changing =* to ~* and / to  the mapfile works :
EXPRESSION ( ([country] ~* ^A) Or  ( ([country] ~* ^B) Or ...

It seems, that in the generated mapfile is a wrong expression.

5. symbol fill rotated
Polygon fill with rotated square looks interesting, but not as expected. Try
with 5.6.1.

6. fill solid
Polygon with solid fill without stroke shows thin lines of the borders.

Some other issues are likely not supported by MapServer, but would be nice
to have them.

A.
Changing the hatch width with sld. see group3, hatch as it is possible
with mapfile class.

B.
UserStyles from applied SLD not supported in WMS Styles

C.
WMS request GetStyles creates only one userstyle with rules from the
different styles described in the mapfile. Should it not create different
userstyles for each style described in the mapfile?

Regards,
Arnd






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




--

Assefa Yewondwossen
Software Analyst

Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



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


Re: [mapserver-users] Some issues with SLD and MapServer 6.0.0 Beta RC1

2011-04-28 Thread Yewondwossen Assefa
Sorry I hit send  with finishing the e-mail. I will through each items 
tomorrow and report.


On 28/04/2011 3:10 PM, Yewondwossen Assefa wrote:

On 28/04/2011 9:34 AM, Arnd Wippermann wrote:

Hi,

I'm interested in map styling with SLD and have tested it locally with
MapServer 6.0.0 Beta RC1 windows binaries from www.gisinternals.com.

I have created an online application to play with SLD and the different
MapServer versions.
http://gis.ibbeck.de/ginfo/apps/OLExamples/OL210/MapServer_SLD_World/MapServ 


er_SLD_World.asp

There the below issues can be seen. For the online application I have 
only

6.0.0 Beta 7 available, but it is the same with RC1.

Most things work great and create a good looking output.

But some things doesn't work as expected.

1.
It seems, that the output directory for debug is set static to
C:\Windows\Temp.
msApplySLD(): Map file after SLD was applied
C:\WINDOWS\TEMP\4db963c5_ab0_1._sld.map
IMGPATH or IMGURL is not take in account.

Temporary files are now written into the tmp directory location. It 
depends on the platform but should respect the environment variables 
set on your platform regarding temporary paths. It is not hardcoded in 
Mapserver.  Ticket http://trac.osgeo.org/mapserver/ticket/3354 has 
notes on this.



2. fill external symbol
Polygon fill with external graphic is erratic. If I zoom in one level 
i get

one tile (South America).
It creates a file
http%3A%2F%2Fgis.ibbeck.de%2FOLClient%2FSLD%2Fsmileyface.png in
C:\Windows\Temp.

3. Continent, Continent_Else
Filter PropertyIsLike doesn't work. With 5.6.1 it is ok.
Expression from generated mapfile : EXPRESSION ([Continent] =~ 
/^Africa/)


4. or_like_abcdef
Filter Or and PropertyIsLike doesn't work. With 5.6.1 only the last 
entry of

PropertyIsLike are taken.
With Or and PropertyIsEqualTo all entries are taken in both versions.
Expression from generated mapfile (6 beta): EXPRESSION ( ([country] =~
/^A/) Or  ( ([country] =~ /^B/) Or  ( ([country] =~ /^C/) Or  (
([country] =~ /^D/) Or  ( ([country] =~ /^E/) Or  ([country] =~ 
/^F/))

) ) ) )

msEvalExpression: Expression parser error. Failed to parse expression:
([country] =~ /^A/) Or ...

With changing =* to ~* and / to  the mapfile works :
EXPRESSION ( ([country] ~* ^A) Or  ( ([country] ~* ^B) Or ...

It seems, that in the generated mapfile is a wrong expression.

5. symbol fill rotated
Polygon fill with rotated square looks interesting, but not as 
expected. Try

with 5.6.1.

6. fill solid
Polygon with solid fill without stroke shows thin lines of the borders.

Some other issues are likely not supported by MapServer, but would be 
nice

to have them.

A.
Changing the hatch width with sld. see group3, hatch as it is possible
with mapfile class.

B.
UserStyles from applied SLD not supported in WMS Styles

C.
WMS request GetStyles creates only one userstyle with rules from the
different styles described in the mapfile. Should it not create 
different

userstyles for each style described in the mapfile?

Regards,
Arnd






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







--

Assefa Yewondwossen
Software Analyst

Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



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