I am using Eclipse 4.2 basic java developer edition with the following plugins: Swing designer Window builder m2e – maven plugin I am using JDK 1.6 for no other reason than this is the jdk I have currently installed. Step
I have started (August 2013) development of map viewer application. I will blog some of the important steps of the development process in this section.
The mapping application will use open street maps data for all the map features and Nasa contour data for the elevations.
The outline for the development is as follows:
- Setting up the development environment – this will cover the IDE, apis and map data source.
- Parsing the data to display simple features – Roads, Forests and Buildings.
- Implementing the display of contours.
- Implementing a configuration file for the colouring of the different features.
That should keep me quiet for a while. So watch this space!
Step 1 Additional apis Moving right on we will need a couple of extra APIs. The first is for the display of the map. I will be using Piccolo2D (http://piccolo2d.org/index.html), which is a “toolkit that supports the development of 2D
Step 1 Getting the data. Unfortunately the elevation data is not part of the Open Street Maps data. Open Streets is all about streets and towns and not about physical geography. It is a shame but not a difficult problem
As I said in the previous post I needed to find a more manageable way of parameterising the features. I initially toyed with the idea of a simple properties flat file. This would be okay for about a dozen features
Thought I had better write all this down so as to not lose it… Install Postgres latest version Install with the spatial extension Create a database – using the pgAdmin tool Set up spatial postgis stuff (not sure how much