
The article “Take Control of Your Maps” considers how to create cards for your sites and applications and why it may be necessary to do this.
Online cards are an integral component of many services that we use. We can say that we live in the Google Maps era, which, thanks to detailed documentation and the possibility of using the API, has become a simple and convenient tool for both designers and developers, in cases where it is necessary to add geospatial information to the site or application.
With growing requirements for geographical applications, more control and functionality of cartographic elements become necessary. The article “ Take Control of Your Maps ” considers the possibility of creating and using alternative open source cartographic maps.
Google Maps is a good and functional tool. Why, in this case, can a desire to use another service?
The answer is that the developer that controls all aspects of the site or application - from typography to interface design - does not want to see in the center of all this a foreign uncontrolled element that is Google Maps. Of course, Google Maps allows some editing, but the card itself cannot be changed.
To realize that Google Maps does not give the necessary degree of control in design and development of cards is one thing, and replacing Google Maps created by the card itself is another. Creating your card requires an understanding of the process and tools.
The key to understanding is a cartographic architecture that leads to the type of map in the browser to which we are all used to.
Browser UI - users interact with the card through the interface in the browser, usually via JavaScript or Flash. Openlayers is one of the examples of the interface for cards written on JavaScript.
Tile Cache is the server located between the browser and the card server and the user requests to the map. Tile Cache checks whether the requested section of the card has already been generated - in this case, it is torn to the cache, and does not generate the card again, which allows you to quickly respond to user requests. One of these servers is Tilecache .
Map Server is an application that creates a graphic display from geospatial data. In fact, this is what you can control the appearance of the card. For the render of beautiful cards, you can use the Mapnik tool.
Geospatial Data is a database that defines points, lines and landfills on the map, as well as such attributes as calling schools or areas.
Thus, the card consists of the above layers. For each layer, there are many alternatives, and the choice of tools depends on the platform, available geospatial data, programming language and the purpose of the application. However, some general advice and principles in the creation of cards can be distinguished.
The article presents general tips that will be useful to those who decided to create a card on their own - from choosing a data storage format to extensions that can help in the development process.