_coordinateSystem.setOrigin(new Position(m.getNorth(), m.getWest()));
_coordinateSystem.setDx(new Vector2d(m.getEast().diff(m.getWest()) / w, 0));
_coordinateSystem.setDy(new Vector2d(0, m.getSouth().diff(m.getNorth()) / h));
ImageData id = (ImageData) imageData.clone();
id = id.scaledTo(w, h);
for (int y = 0; y < h; y++) {
final Vector2d p = (Vector2d) p0.clone();
for (int x = 0; x < w; x++) {
try {
final int pixel = imageData.getPixel((int) Math.round(p.getX()), (int) Math