Re: [Talk-co] please post files to archive.org
OK, the shapefiles will be easier to process. I was still working on the osm files, but shape will be better. I have now split those shapes into one osm file per muni. or dept., will upload them now to archive.org Small note: The rar format is not an open file format, and most linux distros do not have it, maybe you can ask crisis.ofi.co to provide the files in bz format or zip format as well, mike On Sat, Dec 4, 2010 at 4:36 AM, Juan Pizarro jpizar...@gmail.com wrote: Hola, Los archivos son: http://crisis.ofi.co/media/shp/mundep.rar source = OCHA - SIGOT la primera transformación de shp a osm es, el problema es que hay vías con mas de 2000 nodos http://ivan.sanchezortega.es/ADM_Municipios.osm.bz2 Alguien puede subirlos a archive.org --- The file are http://crisis.ofi.co/media/shp/mundep.rar source = OCHA - SIGOT This is the first transformation from shp to .osm, the problem is that exist ways with more than 2000 nodes. http://ivan.sanchezortega.es/ADM_Municipios.osm.bz2 Someone can upload it to archive.org El vie, 03-12-2010 a las 23:03 +0100, Mike Dupont escribió: Hello people, for legal reasons and also for speed, I would like to ask you to create an archive.org lib of files, that way we can know the license and have a high-speed hosting thanks, mike ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co -- James Michael DuPont Member of Free Libre Open Source Software Kosova and Albania flossk.org flossal.org ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
Re: [Talk-co] Necesitamos voluntarios en estas ciudades
Guys, I am uploading the boundries now. http://cube.telascience.org/prizren/columbia/ I was working on a c++ tool to merge common boundries, and I think there was some ruby tool for this. http://www.openstreetmap.org/user/h4ck3rm1k3/diary?language=enpage=5 and the other tool , i need to find it. mike 2010/12/4 Juan Pizarro jpizar...@gmail.com Estimado, El vie, 03-12-2010 a las 23:08 +0100, Germán Márquez Mejía escribió: ¿Qué tan dispendioso ves fragmentar las vías a mano? [0] ¿Impensable? en [1] esta el tema de el limite de nodos por vias, el cual es de 2000 la idea es hacer la división con algún script de forma automática, alguien sabe de alguna herramienta? para posteriormente importar con [2], Me interesa saber si [2] es la mejor elección. Yo podría ayudarte en esa tarea si se pueden editar en JOSM. Quisiera tener una respuesta más útil. Ojalá alguien más en la lista la tenga. [0] http://njgeo.org/2010/02/03/updating-osm-lu-data/ [1] http://wiki.openstreetmap.org/wiki/API_changes_between_v0.5_and_v0.6#Ways [2] http://trac.openstreetmap.org/browser/applications/utils/import/bulk_upload_06 -- *Juan Pizarro* *doing**IT** Ltda.* 10 Oriente N°1887 Talca Tel: +56 71 230476 Mob: +56 9 75891972 E-Mail: jpiza...@doingit.cl Soluciones Informáticas http://doingIT.cl/ - OpenStreetMap.org: El Mapa Libre del Mundo droid.cl: Comunidad Chilena del sistema operativo Android ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co -- James Michael DuPont Member of Free Libre Open Source Software Kosova and Albania flossk.org flossal.org l_firma.png___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
Re: [Talk-co] Necesitamos voluntarios en estas ciudades
Just for the record: it's Colombia, not Columbia. On Saturday 04 December 2010 10:53:37 Mike Dupont wrote: Guys, I am uploading the boundries now. http://cube.telascience.org/prizren/columbia/ I was working on a c++ tool to merge common boundries, and I think there was some ruby tool for this. http://www.openstreetmap.org/user/h4ck3rm1k3/diary?language=enpage=5 and the other tool , i need to find it. mike 2010/12/4 Juan Pizarro jpizar...@gmail.com Estimado, El vie, 03-12-2010 a las 23:08 +0100, Germán Márquez Mejía escribió: ¿Qué tan dispendioso ves fragmentar las vías a mano? [0] ¿Impensable? en [1] esta el tema de el limite de nodos por vias, el cual es de 2000 la idea es hacer la división con algún script de forma automática, alguien sabe de alguna herramienta? para posteriormente importar con [2], Me interesa saber si [2] es la mejor elección. Yo podría ayudarte en esa tarea si se pueden editar en JOSM. Quisiera tener una respuesta más útil. Ojalá alguien más en la lista la tenga. [0] http://njgeo.org/2010/02/03/updating-osm-lu-data/ [1] http://wiki.openstreetmap.org/wiki/API_changes_between_v0.5_and_v0.6#Ways [2] http://trac.openstreetmap.org/browser/applications/utils/import/bulk_uplo ad_06 -- *Juan Pizarro* *doing**IT** Ltda.* 10 Oriente N°1887 Talca Tel: +56 71 230476 Mob: +56 9 75891972 E-Mail: jpiza...@doingit.cl Soluciones Informáticas http://doingIT.cl/ - OpenStreetMap.org: El Mapa Libre del Mundo droid.cl: Comunidad Chilena del sistema operativo Android ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
[Talk-co] IRC chat
Hi guys, I would like to ask you to come to the irc chat when you have time, http://www.oftc.net/oftc/ you can use http://xchat.org/ or www.pidgin.im/ there is even http://en.irc2go.com/webchat/?net=OFTC Channel name for columbia is #osm-co if you use the javaclient, leave out the #, so just use osm-co. thanks, mike -- James Michael DuPont Member of Free Libre Open Source Software Kosova and Albania flossk.org flossal.org ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
Re: [Talk-co] Necesitamos voluntarios en estas ciudades
Ooooh sorry, how silly of me! need to fix that. 2010/12/4 Germán Márquez Mejía manch...@gmail.com: Just for the record: it's Colombia, not Columbia. On Saturday 04 December 2010 10:53:37 Mike Dupont wrote: Guys, I am uploading the boundries now. http://cube.telascience.org/prizren/columbia/ I was working on a c++ tool to merge common boundries, and I think there was some ruby tool for this. http://www.openstreetmap.org/user/h4ck3rm1k3/diary?language=enpage=5 and the other tool , i need to find it. mike 2010/12/4 Juan Pizarro jpizar...@gmail.com Estimado, El vie, 03-12-2010 a las 23:08 +0100, Germán Márquez Mejía escribió: ¿Qué tan dispendioso ves fragmentar las vías a mano? [0] ¿Impensable? en [1] esta el tema de el limite de nodos por vias, el cual es de 2000 la idea es hacer la división con algún script de forma automática, alguien sabe de alguna herramienta? para posteriormente importar con [2], Me interesa saber si [2] es la mejor elección. Yo podría ayudarte en esa tarea si se pueden editar en JOSM. Quisiera tener una respuesta más útil. Ojalá alguien más en la lista la tenga. [0] http://njgeo.org/2010/02/03/updating-osm-lu-data/ [1] http://wiki.openstreetmap.org/wiki/API_changes_between_v0.5_and_v0.6#Ways [2] http://trac.openstreetmap.org/browser/applications/utils/import/bulk_uplo ad_06 -- *Juan Pizarro* *doing**IT** Ltda.* 10 Oriente N°1887 Talca Tel: +56 71 230476 Mob: +56 9 75891972 E-Mail: jpiza...@doingit.cl Soluciones Informáticas http://doingIT.cl/ - OpenStreetMap.org: El Mapa Libre del Mundo droid.cl: Comunidad Chilena del sistema operativo Android ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co -- James Michael DuPont Member of Free Libre Open Source Software Kosova and Albania flossk.org flossal.org ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
Re: [Talk-co] Necesitamos voluntarios en estas ciudades
OK, I have made a table of the files ready to import http://wiki.openstreetmap.org/wiki/2010_Colombia_floods/ImportMuni#Import you will have to manually split the ways, I am looking for some code to do this, first we can do the smaller ones http://cube.telascience.org/prizren/colombia/wordcount.txt When I have the script ready to split the long ways, I will update the files on the server. mike 2010/12/4 Mike Dupont jamesmikedup...@googlemail.com: Ooooh sorry, how silly of me! need to fix that. 2010/12/4 Germán Márquez Mejía manch...@gmail.com: Just for the record: it's Colombia, not Columbia. On Saturday 04 December 2010 10:53:37 Mike Dupont wrote: Guys, I am uploading the boundries now. http://cube.telascience.org/prizren/columbia/ I was working on a c++ tool to merge common boundries, and I think there was some ruby tool for this. http://www.openstreetmap.org/user/h4ck3rm1k3/diary?language=enpage=5 and the other tool , i need to find it. mike 2010/12/4 Juan Pizarro jpizar...@gmail.com Estimado, El vie, 03-12-2010 a las 23:08 +0100, Germán Márquez Mejía escribió: ¿Qué tan dispendioso ves fragmentar las vías a mano? [0] ¿Impensable? en [1] esta el tema de el limite de nodos por vias, el cual es de 2000 la idea es hacer la división con algún script de forma automática, alguien sabe de alguna herramienta? para posteriormente importar con [2], Me interesa saber si [2] es la mejor elección. Yo podría ayudarte en esa tarea si se pueden editar en JOSM. Quisiera tener una respuesta más útil. Ojalá alguien más en la lista la tenga. [0] http://njgeo.org/2010/02/03/updating-osm-lu-data/ [1] http://wiki.openstreetmap.org/wiki/API_changes_between_v0.5_and_v0.6#Ways [2] http://trac.openstreetmap.org/browser/applications/utils/import/bulk_uplo ad_06 -- *Juan Pizarro* *doing**IT** Ltda.* 10 Oriente N°1887 Talca Tel: +56 71 230476 Mob: +56 9 75891972 E-Mail: jpiza...@doingit.cl Soluciones Informáticas http://doingIT.cl/ - OpenStreetMap.org: El Mapa Libre del Mundo droid.cl: Comunidad Chilena del sistema operativo Android ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co -- James Michael DuPont Member of Free Libre Open Source Software Kosova and Albania flossk.org flossal.org -- James Michael DuPont Member of Free Libre Open Source Software Kosova and Albania flossk.org flossal.org ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
[Talk-co] Importación de límites
Saludos: En resumen, por el momento, quien desee ayudar puede encontrar en la wiki los enlaces a los archivos osm de los departamentos y municipios para editarlos (simplificar las vías y desagregar aquellas con más de 2000 nodos) e irlos subiendo. Es muy importante que cada quien se anote en la tabla, porque lo que no alcancemos a hacer a mano se hará automáticamente cuando tengamos el script para disminuir el tamaño de las vías. Yo voy a organizar las tablas según la prioridad para que comencemos con las zonas más urgentes. El trabajo con las relaciones vendrá después. Mancho Am 04.12.2010 12:47, schrieb Mike Dupont: OK, I have made a table of the files ready to import http://wiki.openstreetmap.org/wiki/2010_Colombia_floods/ImportMuni#Import you will have to manually split the ways, I am looking for some code to do this, first we can do the smaller ones http://cube.telascience.org/prizren/colombia/wordcount.txt When I have the script ready to split the long ways, I will update the files on the server. mike Am 04.12.2010 13:22, schrieb Mike Dupont: I have updated the departments : http://wiki.openstreetmap.org/wiki/2010_Colombia_floods/ImportDept#Departs here are the perl scripts i applied to patch the files, http://cube.telascience.org/prizren/colombia/fixtagsd.sh http://cube.telascience.org/prizren/colombia/fixtags.sh you can make similar ones or send me update tomorrow I will look into long way splitting and or relationship creating. step my step. but at least you can work on this manually and also import the most important parts asap. that is all for me today, thanks, mike ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
Re: [Talk-co] Necesitamos voluntarios en estas ciudades
Estimados, Gracias a Mike Dupont jamesmikedup...@googlemail.com tenemos los limites separados en departamentos[1] y municipios[2], además de haber generado la wiki para que nos organicemos. Así que ahora a importar. la idea es registrar en [1] y [2] la quien se hace cargo y el Changeset que produjo con la importación. aún esta el problema de las vias de mas de 2000 nodes, pero al estar el archivos separados por es manejable. El miembro de la comunidad User:H4ck3rm1k3 a comenzado con la importación de CUNDINAMARCA Paime, Changeset [3] [4]. Saludos [1] http://wiki.openstreetmap.org/wiki/2010_Colombia_floods/ImportDept#Departs [2] http://wiki.openstreetmap.org/wiki/2010_Colombia_floods/ImportMuni#Import [3] http://www.openstreetmap.org/browse/changeset/6534845 [4] http://www.openstreetmap.org/browse/changeset/6534853 http://www.openstreetmap.org/browse/changeset/6534884 El sáb, 04-12-2010 a las 12:47 +0100, Mike Dupont escribió: OK, I have made a table of the files ready to import http://wiki.openstreetmap.org/wiki/2010_Colombia_floods/ImportMuni#Import you will have to manually split the ways, I am looking for some code to do this, first we can do the smaller ones http://cube.telascience.org/prizren/colombia/wordcount.txt When I have the script ready to split the long ways, I will update the files on the server. mike -- Juan Pizarro doingIT Ltda. 10 Oriente N°1887 Talca Tel: +56 71 230476 Mob: +56 9 75891972 E-Mail: jpiza...@doingit.cl Soluciones Informáticas - OpenStreetMap.org: El Mapa Libre del Mundo droid.cl: Comunidad Chilena del sistema operativo Android attachment: l_firma.png___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
[Talk-co] Ayuda con JOSM
Estimados: Estoy tratando de hacer andar el plugin WMS del JOSM con la capa bing, sin embargo sigue apareciendo el tapete rojo (carga bien Landsat). Uso Ubuntu 10.10 y he seguido los pasos descritos aqui: http://wiki.openstreetmap.org/wiki/Main_Page Desde el Synaptic instalo en gnome-web-photo v.0.8-0ubuntu5, selecciono el string indicado en preferencia/WMS del JOSM y nada. Mil gracias por su ayuda, Humberto ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
Re: [Talk-co] Ayuda con JOSM
Creo que el problema es el --format=png, porque, si no estoy mal, las imágenes del wms de Bing son jpg, pero entonces eso significa que si funciona Bing no funciona Yahoo, y así. Sugiero que lo compiles tú mismo [0], lo pongas en cualquier parte y le des la ruta completa a JOSM sin más argumentos que la url [1]. Al menos así me funciona en Slackware64-current. [0] http://wiki.openstreetmap.org/wiki/Wmsplugin#Building_from_Source [1] p.ej. /home/mancho/.local/bin/webkit-image {0} Am 04.12.2010 14:41, schrieb hyan...@gmail.com: Estimados: Estoy tratando de hacer andar el plugin WMS del JOSM con la capa bing, sin embargo sigue apareciendo el tapete rojo (carga bien Landsat). Uso Ubuntu 10.10 y he seguido los pasos descritos aqui: http://wiki.openstreetmap.org/wiki/Main_Page Desde el Synaptic instalo en gnome-web-photo v.0.8-0ubuntu5, selecciono el string indicado en preferencia/WMS del JOSM y nada. Mil gracias por su ayuda, Humberto ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
Re: [Talk-co] Ayuda con JOSM
Estimado Humberto, En JOSM (-latest), bing no funciona con wmsplugin, sino con el nuevo plugin imagery (o con un recién slippymap, pero con ese, no se puede mover el fondo). Se puede instalar dentro de las preferencias de JOSM. Saludos, Jean-Guilhem Le 04/12/2010 14:41, hyan...@gmail.com a écrit : Estimados: Estoy tratando de hacer andar el plugin WMS del JOSM con la capa bing, sin embargo sigue apareciendo el tapete rojo (carga bien Landsat). Uso Ubuntu 10.10 y he seguido los pasos descritos aqui: http://wiki.openstreetmap.org/wiki/Main_Page Desde el Synaptic instalo en gnome-web-photo v.0.8-0ubuntu5, selecciono el string indicado en preferencia/WMS del JOSM y nada. Mil gracias por su ayuda, Humberto ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
[Talk-co] Limites internos de Colombia ERA: Necesitamos voluntarios en estas ciudades
hola, por favor conservemos el hilo del tema. salu2 2010/12/4 Juan Pizarro jpizar...@gmail.com Estimados, Gracias a Mike Dupont jamesmikedup...@googlemail.com tenemos los limites separados en departamentos[1] y municipios[2], además de haber generado la wiki para que nos organicemos. Así que ahora a importar. la idea es registrar en [1] y [2] la quien se hace cargo y el Changeset que produjo con la importación. aún esta el problema de las vias de mas de 2000 nodes, pero al estar el archivos separados por es manejable. El miembro de la comunidad User:H4ck3rm1k3http://wiki.openstreetmap.org/wiki/User:H4ck3rm1k3a comenzado con la importación de CUNDINAMARCA Paime, Changeset [3] [4]. Saludos [1] http://wiki.openstreetmap.org/wiki/2010_Colombia_floods/ImportDept#Departs [2] http://wiki.openstreetmap.org/wiki/2010_Colombia_floods/ImportMuni#Import [3] http://www.openstreetmap.org/browse/changeset/6534845 [4 http://www.openstreetmap.org/browse/changeset/6534853]http://www.openstreetmap.org/browse/changeset/6534853 http://www.openstreetmap.org/browse/changeset/6534853 http://www.openstreetmap.org/browse/changeset/6534884 El sáb, 04-12-2010 a las 12:47 +0100, Mike Dupont escribió: OK, I have made a table of the files ready to import http://wiki.openstreetmap.org/wiki/2010_Colombia_floods/ImportMuni#Import you will have to manually split the ways, I am looking for some code to do this, first we can do the smaller ones http://cube.telascience.org/prizren/colombia/wordcount.txt When I have the script ready to split the long ways, I will update the files on the server. mike -- *Juan Pizarro* *doing**IT** Ltda.* 10 Oriente N°1887 Talca Tel: +56 71 230476 Mob: +56 9 75891972 E-Mail: jpiza...@doingit.cl Soluciones Informáticas http://doingIT.cl/ - OpenStreetMap.org: El Mapa Libre del Mundo droid.cl: Comunidad Chilena del sistema operativo Android ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co -- Por favor, no me envíe documentos con extensiones .doc, .docx, .xls, .xlsx, .ppt, .pptx, .mdb, mdbx OpenOffice es libre: se puede copiar, modificar y redistribuir libremente. Gratis y totalmente legal. http://GaleNUx.com es el sistema de información para la salud --///-- Teléfono USA: (347) 688-4473 (Google voice) skype: llamarafredyrivera l_firma.png___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
[Talk-co] Slippy Map
Saludos cordiales, alguien sabe porque en las opciones del plu-in slippy Map dejo de aparecer Bing? Desde esta mañana en josm no me aparece. Gracias. -- ___ Leonardo Gutierrez Director Financiero Autobuses AGA de Colombia Duitama www.autobusesaga.com l...@autobusesaga.com Móvil: 3125860894 Este mensaje de correo electrónico y sus documentos adjuntos están dirigidos EXCLUSIVAMENTE a los destinatarios especificados. La información contenida puede ser CONFIDENCIAL y/o estar LEGALMENTE PROTEGIDA y no necesariamente refleja la opinión de AUTOBUSES AGA DE COLOMBIA LTDA. Si usted recibe este mensaje por ERROR, por favor comuníquese inmediatamente al remitente y ELIMINELO ya que usted NO ESTA AUTORIZADO al uso, revelación, distribución, impresión o copia de toda o alguna parte de la información contenida. ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
Re: [Talk-co] Slippy Map
2010/12/4 Leonardo Gutierrez l...@autobusesaga.com: Saludos cordiales, alguien sabe porque en las opciones del plu-in slippy Map dejo de aparecer Bing? Desde esta mañana en josm no me aparece. he revisado y por lo menos en la zona norte esta funcionando sin problema. salu2 Humano Gracias. -- ___ Leonardo Gutierrez Director Financiero Autobuses AGA de Colombia Duitama www.autobusesaga.com l...@autobusesaga.com Móvil: 3125860894 Este mensaje de correo electrónico y sus documentos adjuntos están dirigidos EXCLUSIVAMENTE a los destinatarios especificados. La información contenida puede ser CONFIDENCIAL y/o estar LEGALMENTE PROTEGIDA y no necesariamente refleja la opinión de AUTOBUSES AGA DE COLOMBIA LTDA. Si usted recibe este mensaje por ERROR, por favor comuníquese inmediatamente al remitente y ELIMINELO ya que usted NO ESTA AUTORIZADO al uso, revelación, distribución, impresión o copia de toda o alguna parte de la información contenida. ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co -- Por favor, no me envíe documentos con extensiones .doc, .docx, .xls, .xlsx, .ppt, .pptx, .mdb, mdbx OpenOffice es libre: se puede copiar, modificar y redistribuir libremente. Gratis y totalmente legal. http://GaleNUx.com es el sistema de información para la salud --///-- Teléfono USA: (347) 688-4473 (Google voice) skype: llamarafredyrivera ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
Re: [Talk-co] please post files to archive.org
On Sat, Dec 4, 2010 at 3:11 AM, Mike Dupont jamesmikedup...@googlemail.com wrote: OK, the shapefiles will be easier to process. I was still working on the osm files, but shape will be better. I have now split those shapes into one osm file per muni. or dept., will upload them now to archive.org Small note: The rar format is not an open file format, and most linux distros do not have it, maybe you can ask crisis.ofi.co to provide the files in bz format or zip format as well, I am managing that server (GeoNode) and also had to add a multiverse repo to install unrar. Here is the zip (thanks for asking): http://crisis.ofi.co/media/shp/mundep.zip Please note that the original source (the one that should be cited is OCHA - SIGOT). If someone wants to checkout the files on a web browser they can be accessed (and downloaded in different spatial formats here:) http://crisis.ofi.co/data/geonode:ADM_Municipios http://crisis.ofi.co/data/geonode:ADM_Departamentos Best, Ariel. ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
Re: [Talk-co] please post files to archive.org
Hi mike I was working on the shp2osm_simple.pl[1], to try to split in ways with 2000 nodes or less. I attach a patch to do it, I'm not a perl programmer, but at the moment the osm contain ways with 2000 nodes or less. https://code.launchpad.net/~kosova/+junk/openstreetmapkosova El sáb, 04-12-2010 a las 10:35 +0100, Mike Dupont escribió: changes to the code checked, int you can run it yourself like this: shp2osm_simple.pl --file=MunicipiosDepartamentos/ADM_Municipios.shp --prefix=ADM_Municipios --source=http://crisis.ofi.co/media/shp/ --waysperfile=1 http://bazaar.launchpad.net/~kosova/+junk/openstreetmapkosova/changes -- Juan Pizarro doingIT Ltda. 10 Oriente N°1887 Talca Tel: +56 71 230476 Mob: +56 9 75891972 E-Mail: jpiza...@doingit.cl Soluciones Informáticas - OpenStreetMap.org: El Mapa Libre del Mundo droid.cl: Comunidad Chilena del sistema operativo Android attachment: l_firma.png=== modified file 'ShapeToOsm.pm' --- ShapeToOsm.pm 2010-12-03 17:53:39 + +++ ShapeToOsm.pm 2010-12-04 15:41:27 + @@ -131,12 +131,21 @@ sub polyline_out { my ( $pts, $tags, $connect_last_seg ) = @_; -my ( $first_node, $last_node, @segs ); +my ( $first_node, $last_node, @segs); +my $nodecount = 0; for my $pt (@$pts) { +$nodecount++; my $node = node_out @$pt; push @segs, seg_out $last_node, $node; $last_node = $node; $first_node ||= $last_node; +if( $nodecount == 1999){ +print new way $nodecount\n; +push @segs, seg_out $last_node, $first_node + if $first_node $connect_last_seg; +way_out \...@segs, $tags; +my ( $first_node, $last_node, @segs); +} } push @segs, seg_out $last_node, $first_node if $first_node $connect_last_seg; === modified file 'shp2osm_simple.pl' (properties changed: -x to +x) ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
Re: [Talk-co] please post files to archive.org
Sorry this is the patch. At the moment only show segements ways with 2000 nodes. El sáb, 04-12-2010 a las 12:55 -0300, Juan Pizarro escribió: Hi mike I was working on the shp2osm_simple.pl[1], to try to split in ways with 2000 nodes or less. I attach a patch to do it, I'm not a perl programmer, but at the moment the osm contain ways with 2000 nodes or less. https://code.launchpad.net/~kosova/+junk/openstreetmapkosova El sáb, 04-12-2010 a las 10:35 +0100, Mike Dupont escribió: changes to the code checked, int you can run it yourself like this: shp2osm_simple.pl --file=MunicipiosDepartamentos/ADM_Municipios.shp --prefix=ADM_Municipios --source=http://crisis.ofi.co/media/shp/ --waysperfile=1 http://bazaar.launchpad.net/~kosova/+junk/openstreetmapkosova/changes -- Juan Pizarro doingIT Ltda. 10 Oriente N°1887 Talca Tel: +56 71 230476 Mob: +56 9 75891972 E-Mail: jpiza...@doingit.cl Soluciones Informáticas - OpenStreetMap.org: El Mapa Libre del Mundo droid.cl: Comunidad Chilena del sistema operativo Android -- Juan Pizarro doingIT Ltda. 10 Oriente N°1887 Talca Tel: +56 71 230476 Mob: +56 9 75891972 E-Mail: jpiza...@doingit.cl Soluciones Informáticas - OpenStreetMap.org: El Mapa Libre del Mundo droid.cl: Comunidad Chilena del sistema operativo Android attachment: l_firma.pngattachment: l_firma.png=== modified file 'ShapeToOsm.pm' --- ShapeToOsm.pm 2010-12-03 17:53:39 + +++ ShapeToOsm.pm 2010-12-04 15:58:07 + @@ -131,16 +131,25 @@ sub polyline_out { my ( $pts, $tags, $connect_last_seg ) = @_; -my ( $first_node, $last_node, @segs ); +my ( $first_node, $last_node, @segs); +my $nodecount = 0; for my $pt (@$pts) { +$nodecount++; my $node = node_out @$pt; push @segs, seg_out $last_node, $node; $last_node = $node; $first_node ||= $last_node; +if( $nodecount == 1999){ +print new way $nodecount\n; +push @segs, seg_out $last_node, $first_node + if $first_node $connect_last_seg; +way_out \...@segs, $tags; +#my ( $first_node, $last_node, @segs); +} } -push @segs, seg_out $last_node, $first_node - if $first_node $connect_last_seg; -way_out \...@segs, $tags; +#push @segs, seg_out $last_node, $first_node +# if $first_node $connect_last_seg; +#way_out \...@segs, $tags; } sub proc_obj { === modified file 'shp2osm_simple.pl' (properties changed: -x to +x) ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
Re: [Talk-co] please post files to archive.org
Thanks for the patch, I will test it and run the files again on the cube. mike On Sat, Dec 4, 2010 at 5:01 PM, Juan Pizarro jpizar...@gmail.com wrote: Sorry this is the patch. At the moment only show segements ways with 2000 nodes. El sáb, 04-12-2010 a las 12:55 -0300, Juan Pizarro escribió: Hi mike I was working on the shp2osm_simple.pl[1], to try to split in ways with 2000 nodes or less. I attach a patch to do it, I'm not a perl programmer, but at the moment the osm contain ways with 2000 nodes or less. https://code.launchpad.net/~kosova/+junk/openstreetmapkosovahttps://code.launchpad.net/%7Ekosova/+junk/openstreetmapkosova El sáb, 04-12-2010 a las 10:35 +0100, Mike Dupont escribió: changes to the code checked, int you can run it yourself like this: shp2osm_simple.pl --file=MunicipiosDepartamentos/ADM_Municipios.shp --prefix=ADM_Municipios --source=http://crisis.ofi.co/media/shp/ --waysperfile=1 http://bazaar.launchpad.net/~kosova/+junk/openstreetmapkosova/changeshttp://bazaar.launchpad.net/%7Ekosova/+junk/openstreetmapkosova/changes -- *Juan Pizarro* *doing**IT** Ltda.* 10 Oriente N°1887 Talca Tel: +56 71 230476 Mob: +56 9 75891972 E-Mail: jpiza...@doingit.cl Soluciones Informáticas http://doingIT.cl/ - OpenStreetMap.org: El Mapa Libre del Mundo droid.cl: Comunidad Chilena del sistema operativo Android -- *Juan Pizarro* *doing**IT** Ltda.* 10 Oriente N°1887 Talca Tel: +56 71 230476 Mob: +56 9 75891972 E-Mail: jpiza...@doingit.cl Soluciones Informáticas http://doingIT.cl/ - OpenStreetMap.org: El Mapa Libre del Mundo droid.cl: Comunidad Chilena del sistema operativo Android -- James Michael DuPont Member of Free Libre Open Source Software Kosova and Albania flossk.org flossal.org l_firma.pngl_firma.png___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
Re: [Talk-co] Cobertura Bing
Reportando cobertura de Bing : - en Santa Marta, Ciénaga y alrededores: http://www.openstreetmap.org/browse/way/87801450 - en Sucre (desde Ricaurte (Coloso, por Corozal, Sincelejo hasta Chinú) http://www.openstreetmap.org/browse/way/87803840 Saludos, Federico -Mensaje original- De: talk-co-boun...@openstreetmap.org [mailto:talk-co-boun...@openstreetmap.org] En nombre de ou??nH Enviado el: miércoles, 01 de diciembre de 2010 05:08 p.m. Para: OpenStreetMap Colombia Asunto: Re: [Talk-co] Cobertura Bing reportando la cobertura de Bing en Bogotá y alrededores. http://www.openstreetmap.org/browse/way/87310430 salu2 humano 2010/11/30 ouɐɯnH fredyriv...@gmail.com: Hola Este es el vector de la cobertura hires de bing en la zona del magdalena norte[0], sobra decir que es una zona de gran afectación en la crisis y esperamos la colaboración de nuestros maperos. salu2 humano PD ya puse esta noche mi granito de arena con Calamar y barranca nueva [0] http://www.openstreetmap.org/browse/way/87219568 -- Por favor, no me envíe documentos con extensiones .doc, .docx, .xls, .xlsx, .ppt, .pptx, .mdb, mdbx OpenOffice es libre: se puede copiar, modificar y redistribuir libremente. Gratis y totalmente legal. http://GaleNUx.com es el sistema de información para la salud --///-- Teléfono USA: (347) 688-4473 (Google voice) skype: llamarafredyrivera -- Por favor, no me envíe documentos con extensiones .doc, .docx, .xls, .xlsx, .ppt, .pptx, .mdb, mdbx OpenOffice es libre: se puede copiar, modificar y redistribuir libremente. Gratis y totalmente legal. http://GaleNUx.com es el sistema de información para la salud --///-- Teléfono USA: (347) 688-4473 (Google voice) skype: llamarafredyrivera ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co
[Talk-co] updated data for import
Hello I have applied the patches from jpizarro, and followed the guidelines from http://wiki.openstreetmap.org/wiki/WikiProject_Colombia/OCHA_Boundary_Import Reworked the script for creating relations. here are the updated files : http://wiki.openstreetmap.org/wiki/2010_Colombia_floods/ImportDept For the Municipalities, I have grouped them into 20 per file, so you have less: http://wiki.openstreetmap.org/wiki/2010_Colombia_floods/ImportMuni Using josm to upload, please run the validator to remove duplicate nodes on the borders. I have my C++ code to remove and cut the ways between the areas, I will post process them when done to merge and cut the ways, right now we will have overlapping ways. But the relationships are there and they are closed, you will find also the patch scripts and the make index scripts in the data directories : if you want to download all the data files you will find them here : Municipalities : http://cube.telascience.org/prizren/colombia/test/outADM_Municipios.tbz patch : http://cube.telascience.org/prizren/colombia/test/outADM_Municipios/patchm.pl apply like perl -i.bak patchm.pl *.osm Departments : http://cube.telascience.org/prizren/colombia/test/outADM_Departamentos.tbz patch: http://cube.telascience.org/prizren/colombia/test/outADM_Departamentos/patch.pl apply like perl -i.bak patch.pl *.osm The patches have been applied, but you can read them or change them if you want. The data has been generated with these commands : perl -I ../../openstreetmapkosova/ ../../openstreetmapkosova/shp2osm_simple.pl --file=MunicipiosDepartamentos/ADM_Municipios.shp --prefix=ADM_Municipios --source=OCHA - SIGOT --waysperfile=20 and perl -I ../../openstreetmapkosova/ ../../openstreetmapkosova/shp2osm_simple.pl --file=MunicipiosDepartamentos/ADM_Departamentos.shp --prefix=ADM_Departamentos --source=OCHA - SIGOT --waysperfile=1 Thansk to jgc and Manchito and jpizarro for testing. Also i want to give special thanks to Hyper John and winkey from the cube for hosting! todo is the problem with upper and lower case, the perl lc function did not lowercase the strange chars properly. we will be able to update the osm database after import, have scripts for that as well, so dont worry. mike -- James Michael DuPont Member of Free Libre Open Source Software Kosova and Albania flossk.org flossal.org ___ Talk-co mailing list Talk-co@openstreetmap.org http://lists.openstreetmap.org/listinfo/talk-co