mapgears / scribeui

http://scribeui.org
MIT License
28 stars 15 forks source link

Standard mapfile not working #54

Closed jlap closed 10 years ago

jlap commented 10 years ago

Standard mapfiles are broken. They will save to a name.map.layer file, but the included file is name.map

jlap commented 10 years ago

It is now possible to save changes to a group ( fixed in 89c3d2c9dc0d5c99147e2a56ba6ea964da36e25b ) and add a new one ( 51594fe0dba9ff79ddd7ab1f1ceabdbd3b9ccd67 )

Saving was a file naming issue. Standard group were renamed with a .layer in the end like the scribe group files. Adding groups was not because standard mapfiles have include statements, as opposed to scribe maps for which groups are managed by the background script.

Adding a group still calls the python script to add the group to the database, but it also adds the include statement to the map editor client-side and then saves.

These fix however introduce new bugs which will be addressed in new tickets. ( #57 #58 )