Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does MapManager manage includes? #30

Closed
pelord opened this issue Jun 7, 2017 · 4 comments
Closed

Does MapManager manage includes? #30

pelord opened this issue Jun 7, 2017 · 4 comments

Comments

@pelord
Copy link

pelord commented Jun 7, 2017

To create large mapfiles as simple as possible, I frequently incorporate include as :

INCLUDE "../ec/connec_db_pg.map"

Does MapManager can manage them?
I know, that it's more a question than an issue.

@szekerest
Copy link
Member

Currently this can only be done in the text tab.
What kind of functionality should be added? Just to add/remove the includes or support for editing multiple map files within the same application?

@pelord
Copy link
Author

pelord commented Jun 14, 2017

I'm not really familiar with MapManager but to you think it is possible for MapManager to inherit parent mapfiles? It's more this kind of include I am looking for?

@KenHeer1
Copy link

KenHeer1 commented Jan 4, 2018

My use case would benefit from this as well.

I'm using includes in 2 ways; one for connection strings and one for "members". Members is basically a group of layers specific to a group. So our primary mapfile has the main mapfile details, then all the layers are grouped into separate .map files and included into the main one.

I don't know if my specific use case is broad enough, but I'm thinking something like adding a context menu item to add include file. When attempted, if the main map file and the newly included map file parses, then maybe add the included map file as an additional tab? The title of the "Text" tab could be updated to the name of the main map file. Really just thinking out loud.

@szekerest
Copy link
Member

Sounds like a good enhancement, but it would be hard to implement, since the include information is lost when the mapfile was parsed. When we save that mapfile again, the resulting file would contain merged data from the base file and the linked files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants