Articles


Chameleon's query tool highlighting improvement

Query tool does a great job in querying and highlighting the queried features to the user so they can keep track of what the current feature they are viewing information about. However, if you have your GIS centeralized around a special unit. You might want only these units to be highlighted or, you may have too many layers that querying any point highlights many features that it becomes crowded and annoying so it would be a good idea to hiighlight only important layers.

Well, a solution is here. I've modified chameleon (2.0) to gracefully have a way to specify what layers should be highlighted and what is not. Gracefully here means that even if you include it, it's okay if you don't want to use it, won't hurt your code :-).

Abstracting map files with INCLUDE

UPDATE (13 Sept, 2006 - 03:35) Sadly, it turned out that this is a new feature that can only be found in MapServer 4.10; The version we use is 4.6 :-(. Alright so this is one reason to upgrade ourselves to MapServer 4.10

Whenever I check out a mapfile from the repository, I have to change many things to meet my local configuration. Things like database connection strings for example. And it gets even worse, after I commit my modifications back to the repository and another developer check out a copy, they will have my own database connection strings instead of their's; so they will adjust it again, work on the code then commit the modifications they did. Well, you guessed it, I checkout in the next morning, and again I have to change all the strings because it was overriden, and so on.

thready
thready
thready
thready