MapServer / basemaps

Scripts to generate MapServer mapfiles based on OpenStreetMap data. Please submit pull requests to the 'main' branch.
61 stars 46 forks source link

From MapServer 7.6 ANGLE and SIZE should be greater than 0 #80

Closed yjacolin closed 1 year ago

yjacolin commented 1 year ago

When using basemaps with MapServer 7.6 and greater, we get error message on value should be greater than 0. Typical error message is: loadLabel(): General error message. Invalid SIZE, must be greater than 0 (line 3746)

We should update all negative value to positive value for following parameters:

Possible script to update automagickly the value: find . -name "*.map.tmpl" -exec echo {} \; -exec sed -n '498p' {} \; | grep -B1 'SIZE'

yjacolin commented 1 year ago

First tests with MapServer 8.0 and MapServer 7.6 show that all is already working.

yjacolin commented 1 year ago

https://github.com/MapServer/basemaps/commit/4884d80710d41516fbfafb10f883b93b2dac5bc2