Hi,<br><br>in the end, after searching for a couple of hours, I managed to split a little part of the 400MB file and open it on JOSM to take a look:<br><br>$ java -Xmx1048m -cp "osmosis-0.35/osmosis.jar:osmosis-0.35/lib/default/*" org.openstreetmap.osmosis.core.Osmosis --read-xml-0.5 enableDateParsing=no file=Quadras.osm --migrate --bounding-box top=-22.92297 left=-43.18026 bottom=-22.92849 right=-43.17241 completeWays=yes completeRelations=yes --write-xml file=teste-catete.osm<br>
<br>As expected, it's a file with the blocks ("quadras") structure. How do you think it could be imported into OSM, if useful at all? I mean, we map roads and the buildings that are on the blocks, but not the blocks itself. Just to exemplify, a place near of where I live: <br>
<br><a href="http://osm.org/go/OVc0m5mwC--">http://osm.org/go/OVc0m5mwC--</a><br><br>And what the shapefile provided me:<br><br><a href="http://img175.imageshack.us/img175/2793/capturadetelajavaopenst.png">http://img175.imageshack.us/img175/2793/capturadetelajavaopenst.png</a><br>
<br>Perhaps if I manually import those polygons to OSM with some landuse=residential|comercial tag and draw roads between them manually? Any ideas?<br><br>Thank you guys, you're helping a lot. I'm very thankful and hopeful we will have a good and free map of Rio soon. :)<br>
<br>Cheers,<br>Arlindo Pereira<br><br><div class="gmail_quote">2010/5/22 François Van Der Biest <span dir="ltr"><<a href="mailto:francois.vanderbiest@camptocamp.com">francois.vanderbiest@camptocamp.com</a>></span><br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi all,<br>
<br>
I'd recommend having a look at this automated road selection process<br>
before hand selecting features to import :<br>
<a href="http://wiki.openstreetmap.org/wiki/BMO#Differential_import" target="_blank">http://wiki.openstreetmap.org/wiki/BMO#Differential_import</a><br>
<br>
If needed, I can provide help, since I'm the one who wrote the page.<br>
<font color="#888888"><br>
F.<br>
</font><div><div></div><div class="h5"><br>
On Sun, May 16, 2010 at 4:49 PM, Jukka Rahkonen<br>
<<a href="mailto:jukka.rahkonen@latuviitta.fi">jukka.rahkonen@latuviitta.fi</a>> wrote:<br>
> Arlindo Pereira <openstreetmap <at> <a href="http://arlindopereira.com" target="_blank">arlindopereira.com</a>> writes:<br>
><br>
> ...<br>
>><br>
>> Now, moving on to the second question: the largest shapefile<br>
>> (Quadras.shp, with the streets and the blocks) has 68 MB, and after<br>
>> conversion (and two hours later) it becomes a huge 416 MB .osm file,<br>
>> and I can't open it with JOSM (ok, after half an hour it loads up on<br>
>> the editor but I can't do anything because the program freezes). How<br>
>> can I split it in smaller files for an easier edition?<br>
><br>
> One possibility is to edit the shapefile with some GIS program like OpenJUMP or<br>
> QGis, select features from a smaller area and save that part to a new shapefile.<br>
> That way you could also select only some kind of features to import, or cut off<br>
> those you do not want at all.<br>
><br>
><br>
> _______________________________________________<br>
> talk mailing list<br>
> <a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
> <a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a><br>
><br>
<br>
_______________________________________________<br>
talk mailing list<br>
<a href="mailto:talk@openstreetmap.org">talk@openstreetmap.org</a><br>
<a href="http://lists.openstreetmap.org/listinfo/talk" target="_blank">http://lists.openstreetmap.org/listinfo/talk</a><br>
</div></div></blockquote></div><br>