Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

"base" field invalid #1220

Open
gisupc opened this Issue · 3 comments

3 participants

@gisupc

I use mapnik2 under windows,when i use the style

ShieldSymbolizer base="E:\test" file ="test.png"
or
ShieldSymbolizer base="E:/test" file ="test.png"

i get the error

WARNING Marker does not exist

and the map does not show the marker
but ShieldSymbolizer file ="E:\test\test.png" the result is right

@springmeyer
Owner

Interesting, thanks for the report.

@gisupc

by the way, i used windows 7

@lightmare

Looking into the code, I guess you should define a filesource in <Map>

<FileSource name="images">E:/test</FileSource>

(I suppose current win understand forward slashes too) and then use

<ShieldSymbolizer base="images" file="test.png">

(and it kind of makes sense, would be useless to have actual path in base, this way you can take images from another place by changing just the FileSource)

Note: didn't find it documented, so there certainly is space for improvement ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.