OpenStreetMap logo OpenStreetMap

Post When Comment
Little by little

Also while I'm here, please always include changeset comments :) They would be really really useful.

Little by little

I think there are better ways to deal with AutoCAD and shapefiles, there are customizable converters to go directly from .shp or .dxf to .osm, one of these converters you can find in svn.openstreetmap.org called ogr2osm.

Make sure the *owner* of the data has approved the usage under the CC-By-SA license.

Cheers

Santa Rosa

Hola otra vez,
parece que fue muy buena idea los de solicitar los mapas.

Hoy he mirado como queda el nuevo mapa de Santa Rosa en OpenStreetMap y ya se ve bastante completo (por lo menos el trazado de las calles) con lo cual las personas que no cuentan con un GPS tambien pueden contribuir.

Tengo algunos comentarios acerca del trazado:

La mayoria de calles no tenia conecciones en el lugar donde cruza con otras calles. Eso es decir que la mayoria solo tenia un nodo de cada extremo y faltaban los nodos que conectan con otras calles. Eso es improtante sobre todo para el routing (navegacion) porque los programas de enrutamiento no se dan cuenta que desde una calle puedes doblar en otra si no existe un nodo comun. Este problem es comun con el editor online donde no se ve cuando faltan los nodos, para eso se puede usar el servicio keepright:
http://keepright.ipax.at/report_map.php?zoom=14&lat=-3.45444&lon=-79.95639&layers=B00T&ch=0%2C30%2C40%2C50%2C60%2C70%2C90%2C100%2C110%2C120%2C130%2C150%2C160%2C170%2C180%2C191%2C192%2C193%2C194%2C195%2C196%2C197%2C198%2C201%2C202%2C203%2C204%2C205%2C206%2C207%2C208%2C210%2C220%2C231%2C232%2C270%2C281%2C282%2C283%2C284%2C291%2C292%2C293%2C311%2C312%2C350&show_ign=1&show_tmpign=1

(el otro editor, de java, tiene un plugin llamado Validator, que tambien te avisa cuando sospecha un error)

Ahroa he añadido un monton de nodos, pero seria bueno que lo averigue alguna persona local (personalmente nunca he ido a Santa Rosa), porque hay casos donde no se desea que haya conecciones, por ejemplo cuando una calle pasa por encima de otra en un puente.

El otro comentario es que seria bueno estandarizar los nombres de las calles. En otros paises la norma es: usar nombres completos, sin saltar el prefijo "Calle de" o "Avenida de", no usar las abreviaturas tipo "Av.", y no escribir palabras enteras en mayusculas, las que se reservan para inicialismos o siglas (tipo ADN, EE UU...)

Saludos

New OpenStreetMap-FOUNDATION logo proposal

Yay for hillshading :)

Edición de Santa Rosa

Hola Hector,
conozco a alguien en Santa Rosa y siempre intente convencerla a que empiece a mapear su pueblo, pero no encontre ningun tipo ortofotos que se puedan usar, y la persona no tiene GPS asi que nunca avanzamos. Puedo saber de donde es el mapa que tienes? Siempre asegurate de que la licencia del mapa es compatible, o que el autor ha dado permiso del uso para OSM.

Suerte con el trazado

Who has autocad?

Here's the .dxf version of the file (zipped):

http://www.openstreetmap.pl/balrog/Planimetria_de_Vitoria.zip

HTH

Who has autocad?

I asked my dad (he uses AutoCAD) to convert it but the download will take him probably about 2h. He told me you can use ACME Cad to convert any version of .dwg to .dxf and it's downloadable for free, if you have ms Windows (I don't), here's some download page:

http://download.cnet.com/Acme-CAD-Converter/3000-18496_4-10431995.html

New Host for OSM data , archive.org

I don't think postcode/zipcode areas are administrative divisions like regions/states/provinces/counties/municipalities etc, they're an aid to the postal service and are not part of the administrative hierarchy of different admin_level's.

I'd suggest boundary=postcode or some such.

Chasing changeset 3 million

Turns out changeset 3M is a scripted upload of NHD data, no fun :P

Someone on IRC noticed today (halloween) that chanegset 666666 was just a year ago, now we've had five times as many changesets this year than in all the time before.

Mono building footprints

Assuming the .osm files you get from shp2osm have the xml formatted nicely, like what JOSM produces, you could remove zero tags using grep (that's why it needs to be formatted nicely so each tag is on a separate line), so you would grep for something like "key='ele' value='0.0'":

cat converted-shp-file-before-upload.osm | grep -v "key='ele' value='0\\.0'" > file-stripped.osm

Before upload because otherwise you would need to also add the action="modified" tags to every object modified. The -v inverts the matching so that matching lines are skipped instead of non-matching lines.

You can also do such things with JOSM and its search function, but scripting it seems easier.

(I'm in east Europe.)

Marketing

Something like the interactive data layer displayed by default would be really great, unfortunately it's a pretty big technical challenge -- the javascript engine in the browser can only hold so many elements in memory and no more and it's easy to clog the browser this way. However if intelligently designed it could work -- we would need a hierarchy of importance of objects (like the one in mapnik's osm.xml) so that obejcts relevant to the zoom level get loaded, and we would need to set a sensible limit for the number of objects that are "interactive" at any given time (this would probably be no more than 20 or 30). We would need to teach the tile generator to simplify complex polygons, and we would need make small changes to OpenLayers to support the graphical side of it.

Two weeks ago I implemented a wikipedia overlay for mapnik where I had to tackle most of the same issues, but I've not set a hard limit on the number of object. http://www.openstreetmap.pl/wp (Firefox-only)

Mono building footprints

Oh another thing I noticed is that where buildings touch each other (share an edge) they would normally reuse the same nodes but in this data they have separate sets of nodes.

(The revert changeset is 2792386)

Mono building footprints

Looks like the revert worked! Hopefully nothing useful was removed :p

The imports I've done so far were not from .shp files so I had to use a custom script to convert (in Python, even though I can't say I know python). Then I upload using another python script (similar to bulk_upload.py) and that's where I can tell it to start from a given point instead of from the beginning.

Some more comments on the buildings imported:
* They look really cool, I think that's going to be useful especially with the elevation and storeys info -- one could potentially build some 3d models now.
* There are buildings with addr:housenumber=0, ele=0.0 or storeys=0.0, I think these tags can be safely removed where they're zero, apart from the names issue you mentioned.

Mono building footprints

Hi, before you start removing the fallout from the crashed upload by hand, try simply reverting the changeset that had failed, if no edits were made on top of it, it should be pretty easy. Or you can tell me which changes need reverting and I'll do that as I have the all gear set up for this.

Also instead of restarting the upload you could either edit your upload script to continue from where it had left off (that's what I normally do although I realise each script is different) or download the state after the crash from OSM and use the existing nodes instead of creating new ones by matching coordinates.

I recommend splitting long ways at 200-300 nodes and not coming near the 2k limit, makes working with the data easier.

OSM Formula 1

So here's yet another way of tagging raceways: osm.org/?lat=50.9605&lon=20.53909&zoom=17&layers=B000FTF :)

highway=racetrack is supported by mapnik but not Osmarender.

Comienzos

Suerte! A mi tambien me viene mucho mejor el editor java (aunque sea en java y me ocupe toda memoria ram)

The roads with two names

When a street has two names or two forms of writing the same name I usually just add a alt_name=Whatever so that it become searchable under both names -- even if one of them is clearly incorrect let users search by this name. This happens also in Spain and elsewhere that there's a new and old form of writing a name or just a wit of whoever decided on the labels.

Frustration

I don't see Zartbitter's message as arogant, he just states the facts. You shouldn't judge OSM as a project by the rendering at www.openstreetmap.org, it's one of many renderings and it's one of the less important parts of the project. And certainly don't judge the usefulness of your mapping this way. Think of the navigation software and search engines rather, they'll find your POIs.

Also, thank you for your mapping, it's definitely not useless.

Queensland Mappers Rejoice! - Cadastre geometry now available

I, too, think this data should be imported if possible -- there will be a percentage of people opposing to loading such amounts of not-so-crucial geo data on the mailing lists when it's put up for discussion but in the end the storage should not prevent us from making detailed maps. If the property boundaries are not imported from an official source, eventually local mappers will recreate the same dataset, just with poorer quality.

LZO for compressing planets

Yeah - the point is to find the perfect balance between decompression/compression time and IO time. For disk IO the balance is different than for network IO.

I was talking about disk IO here, i.e. when you have the snapshot on your disk. For network IO, using lzma would probably give the best balance, because it generates the smallest files.