geostyler / geostyler-mapfile-parser

GeoStyler Style Parser implementation for MapServer Mapfiles
BSD 2-Clause "Simplified" License
8 stars 5 forks source link

Upgrade mapfile parser #33

Closed mholthausen closed 3 years ago

mholthausen commented 3 years ago

With this PR

I request a final review of the changes made here by this PR

jansule commented 3 years ago

Never mind. I just noticed the DRAFT flag

mholthausen commented 3 years ago

Thanks @jansule! Even though it is still DRAFT, any advice is greatly appreciated!

geographika commented 3 years ago

Sorry for gatecrashing this ticket, but it might be something of interest. There are JSON schemas for all Mapfile elements at https://github.com/geographika/mappyfile/tree/master/mappyfile/schemas might be useful for validation. This schema will (at some point) be proposed as an official schema via an RFC for MapServer.

b4l commented 3 years ago

Sorry for gatecrashing this ticket, but it might be something of interest. There are JSON schemas for all Mapfile elements at https://github.com/geographika/mappyfile/tree/master/mappyfile/schemas might be useful for validation. This schema will (at some point) be proposed as an official schema via an RFC for MapServer.

Also might want to switch to a more advanced parsing step leveraging a proper grammar/schema than the current mediocre line based one.

mholthausen commented 3 years ago

Thanks for the reviews! When all uncertainties are solved, the changes can be merged.

mholthausen commented 3 years ago

Sorry for gatecrashing this ticket, but it might be something of interest. There are JSON schemas for all Mapfile elements at https://github.com/geographika/mappyfile/tree/master/mappyfile/schemas might be useful for validation. This schema will (at some point) be proposed as an official schema via an RFC for MapServer.

Also might want to switch to a more advanced parsing step leveraging a proper grammar/schema than the current mediocre line based one.

Sorry for gatecrashing this ticket, but it might be something of interest. There are JSON schemas for all Mapfile elements at https://github.com/geographika/mappyfile/tree/master/mappyfile/schemas might be useful for validation. This schema will (at some point) be proposed as an official schema via an RFC for MapServer.

Also might want to switch to a more advanced parsing step leveraging a proper grammar/schema than the current mediocre line based one.

That's a good consideration! A discussion should be continued on this in the Issues or GitHub Discussions. These changes exceed the requirements of this PR.

marcjansen commented 3 years ago

I am +1 on merging, and we should probably make dedicated issues out of:

marcjansen commented 3 years ago

Hey @mholthausen, @geographika & @b4l maybe you want to join the monthly meeting today? Than we can have a chat about this. Drop us an email at reports@geostyler.org, then you'll get invited