geographika / mappyfile

A pure Python MapFile parser for working with MapServer
MIT License
71 stars 20 forks source link

Simplify processing of Comments #191

Closed geographika closed 1 year ago

geographika commented 1 year ago

Use a dictionary approach, and pop to remove comments when processed - this fixes errors around comments being duplicated in different parts of the Mapfile.

Also allow comments to be saved within a PROJECTION block.

coveralls commented 1 year ago

Coverage Status

coverage: 91.892% (-0.1%) from 91.994% when pulling b36da2a97ad9fdbc274054390703132335cb6a58 on comment-fixes into 5d6f35a84685c8258c78788d6746d1b3cb9d564f on master.