[OSM-talk] "scale" a ShapeFile in Y-direction?

Frederik Ramm frederik at remote.org
Sun May 10 22:40:12 BST 2009


Hi,

Torsten Mohr wrote:
> I have a ShapeFile that seems to be incorrect, scaling it in Y-direction
> could make it fit the background.

Do you have a basic understanding of coordinate projections? If not, 
you'd be well advised to spend a few hours reading on the subject (start 
with Wikipedia, take it from there).

You need to find out which projection your shapefile is in, and then set 
the correct one in your map file, and things are likely to work. Simply 
stretching the data from the shapefile is very unlikely to yield the 
desired results - you will probably find that the stretch factor that 
makes Iceland and the Equator fit will still have France out of place.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"




More information about the talk mailing list