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

2009-05-11 Thread Torsten Mohr
Hello Juan, thank you very very much !! I just created the first map with the new ShapeFiles boundaries exactly on the satellite images data. At the moment i create a second, higher resolution map. Thanks a lot, Torsten. Am Montag, 11. Mai 2009 23:32:14 schrieb Juan Lucas Dominguez Rubio: >

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

2009-05-11 Thread Juan Lucas Dominguez Rubio
Hi. Your file world_boundaries_m.shp seems to be in the old-fashioned EPSG:3395 we discussed a few days ago. This should produce the shapefile you are looking for (world_boundaries_900913.shp): ogr2ogr -f "ESRI Shapefile" -s_srs epsg:3395 -t_srs "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +l

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

2009-05-11 Thread Torsten Mohr
Hello, thanks for taking a look at it. The output is ~ 19000 lines, so i'll just show the top ~70 lines: Had to open data source read-only. INFO: Open of `world_boundaries_m.shp' using driver `ESRI Shapefile' successful. Layer name: world_boundaries_m Geometry: Polygon Feature Count: 3807

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

2009-05-11 Thread Juan Lucas Dominguez Rubio
Hi: I'm curious about that shapefile that needs some stretching. Assuming its name is filename.shp, try to type this: ogrinfo -geom=NO filename.shp filename what is the output? Regards, Juan Lucas Hello Frederik,

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

2009-05-10 Thread Jukka Rahkonen
Torsten Mohr s.netic.de> writes: > > A ShapeFile contains the "source SRS" inside it, right? When rendering > world_boundaries_m and shoreline_300 i used the same "target SRS". > But the result leads to different positions on the final map. Not necessarily. Shapefile is a collection of files

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

2009-05-10 Thread Torsten Mohr
Hello Frederik, thanks for your hint. Yes, i know about projections. Actually, i reprojected the rester images of "blue marble" from a form of WGS84 to Mercaator with an own program. But as i've heard it, world_boundaries_m is "defect". But as an overlay to represent the boundaries it would be

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

2009-05-10 Thread Frederik Ramm
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, ta

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

2009-05-10 Thread Torsten Mohr
Hello, i can create a map with the "blue marble" as background. I'd like to overlay the boundaries of the continents and islands and states. The only correct ShapeFiles i could find have tiles and create a pattern that doesn't look good in the final image. I have a ShapeFile that seems to be inc