הלוגו של OpenStreetMap OpenStreetMap

Updating housing site no 5...

פורסם על־ידי Archiblog ב־20 בינואר 2013 בEnglish.

I am trying to export data relating to 6 OS ‘squares’ around (loose term) SK 57008 59995, 53.134102, -1.14935 in order to create an svg map. Then to work on it in Inkscape. I want the squares to be exact! That’s the issue I am grappling with in this instance.

Comments will be appreciated.

NW

PS I’m thinking that I may be framing this issue wrongly. Maybe I should ‘merely’ select an area a little larger than I need to allow a margin for error. I can then edit the selected area in Inkscape to the desired size and scale. Hmmm…

cf http://www.flickr.com/photos/archiblog/8300029894/in/photostream/

מיקום: Forest Town, Mansfield Woodhouse, Mansfield, Nottinghamshire, East Midlands, England, NG19 0DU, United Kingdom
סמל דוא״ל סמל בלוסקיי סמל פייסבוק סמל לינקדאין סמל מסטודון סמל טלגרם סמל X

דיון

תגובה מאת SK53 על 20 בינואר 2013 בשעה 21:26

You have an issues with projections: you can’t just grab OSM data and hope it to look like OSGB data.

I’d do this with Quantum GIS, set up a project using the OSGB projection (EPSG: 27700) with conversion on the fly checked. You can load some OS OpenData into this (for instance the 250k raster or the Meridian 2 vector data are both very suitable).

Then download your required OSM data (this should now be re-projected automatically into OSGB). Do whatever styling is required.

Now create a composer which enables you to set the bounds of the area (I presume you mean 6 1km squares) & export this as SVG.

You could also download your OSM data as Shapefiles and use ogr2ogr to do the conversion, but this is what QGIS is doing and it hides some of the gory detail.

The SVG files can be huge: I’ve not bothered with them myself, preferring PDFs.

תגובה מאת Vclaw על 21 בינואר 2013 בשעה 16:13

Or you could set up Mapnik to work in the OSGB projection. There’s instructions here, but it look a bit complicated: osm.wiki/Mapnik_GB_Projection

Then you could use Mapnik to generate SVG images.

תגובה מאת Archiblog על 25 בינואר 2013 בשעה 14:41

@SK53 and Vclaw -

Thank you very much for your comments which I am following up. I’ll comment again later.

תגובה מאת Archiblog על 31 בינואר 2013 בשעה 10:02

This exported bitmap show what I have achieved so far: http://www.flickr.com/photos/archiblog/8431395133/in/photostream/

נא להיכנס כדי להשאיר תגובה