You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a mapfile with LABEL - FONT and LABEL - POSITION as attributes.
These gives errors when I run mappyfile validate on the mapfile.
I have made an example with some real data that I am using.
I managed to patch the schema for the font case. But was not successful with the position case.
Mapserver version 7.2.2 on debian. Mappyfile version: 0.9.1
The script above creates data in a geojson file with two features.
My result image looks like this when I run shp2img:
The text was updated successfully, but these errors were encountered:
LarsSchy
changed the title
LABEL -> FONT and LABEL->POSITION gives errors in validate
LABEL -> FONT and LABEL->POSITION gives errors in validate when attributes are used
Jan 28, 2021
Thanks for reporting this. The validation didn't allow for attributes in LABEL POSITION, and there was a clash in LABEL FONT in the JSON rules. Both should be fixed in master now.
I have a mapfile with LABEL - FONT and LABEL - POSITION as attributes.
These gives errors when I run mappyfile validate on the mapfile.
I have made an example with some real data that I am using.
I managed to patch the schema for the font case. But was not successful with the position case.
Mapserver version 7.2.2 on debian. Mappyfile version: 0.9.1
I have made a full example with everything except the font files here:
https://gist.github.com/LarsSchy/27916c896d35a524a123b69e4dbdcb54
The script above creates data in a geojson file with two features.
My result image looks like this when I run shp2img:
The text was updated successfully, but these errors were encountered: