<div dir="ltr"><div><div><div>Hi Jo, <br></div>i'm also new to Qgis so not really aware of the limits ...<br></div>why not a python script.... but i can't help you with this one.. what kind of input do you think will be the best?<br>

<br></div>i have to test those josm plugin but it can be part of a solution yes...<br><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 13, 2013 at 12:36 AM, Jo <span dir="ltr"><<a href="mailto:winfixit@gmail.com" target="_blank">winfixit@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It seems we're the only ones communicating on this, but that's OK.<br><br><div class="gmail_quote">2013/5/12 eMerzh <span dir="ltr"><<a href="mailto:merzhin@gmail.com" target="_blank">merzhin@gmail.com</a>></span><br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im">Thanks for your help Jo, <br><br></div><div class="gmail_extra"><div class="gmail_quote">

 <div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I looked at your files and you have the building shapes converted already... great! I'd like to learn how you did it.<br>

</blockquote><div><br></div></div><div class="im"><div>I'm not a qgis expert so it may not be the best/easiest way but :<br></div><div>i've open the .shp files as a vector layer, <br></div><div>then i did a count of address in the building polygons (Vector > analysis > pt in polygone) <br>




</div><div>then i save all building with 1 addresses in anither shape file , <br></div><div>then i did a datamanagement tools > join by location to put address attributes in the building.<br></div></div></div></div></div>

</blockquote>
<div><br>It's certainly better than the way I had been trying it. I only started with QGIS maybe 2 weeks ago and I have no experience with other GIS tools. I do know PostgreSQL a bit, so I was trying it with PostGIS, using QGIS merely as a viewer tool to see what's available. Unfortunately things went south during the import of the shape files into PostGIS.<br>


<br>Anyway, thanks for enlightening me. <br></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">

<div>
<br></div><div>Then saved the shape as a WGS84 and i opened it in josm  ... a few attribute renaming and i saved it in .osm.. and voilą :d<br></div></div></div></div></blockquote><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>I would have added associatedStreet relations to the osm files as well. </blockquote>


<div>

 </div></div><div>mmm yeah ... unfortunately i don't see how i can do that  <br></div></div></div></div></blockquote></div><div><br>OK, if you like, I can create a Python script now which does the steps I mentioned in the previous mail. <br>


 

<br></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div><br></div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Combine addr:street:fr and addr:street:nl in addr:street or omit it/them altogether.<br>

</blockquote><div><br></div></div><div>yes i know that usually we only have addr:street but as in BXL we (don't know who :p )  decided to set the street name as it come from the mapper (fr-nl or nl -fr ) it's really hard to discover...<br>


</div></div></div></div></blockquote></div><div><br>It was decided many years ago that the first mapper would 'decide' on the order of the languages in the name tag. I don't mind to put fr-nl everywhere to make it consistent. Except for 'faciliteitengemeentes' like Sint-Genesius-Rode where it should either be nl-fr, or nl in name and fr in name:fr.<br>


<br> <br></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>

</div><div>if i don't set it we will not have the relation to the street anymore :s<br></div><div>If somebody knows a better solution?<br></div></div></div></div></blockquote></div><div><br>I'll tackle it in the script I'm going to create. <br>


</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




Since most buildings are houses, I'd use building=house.<br></blockquote></div><div>mmmh do not really agree on this one ...<br></div></div></div></div></blockquote><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div></div><div>for me building = yes is more generic ... if we know it's house then ok let's change it, but let's not put house everywhere and make the value "house" equivalent to "yes" <br>


</div></div></div></div></blockquote></div><div><br>I should probably have mentioned that  I see it as the responsability of the 'integrator' to put building=yes/church/apartment where this is more appropriate. So I'd only do it to make life easier for the person doing the integration.<br>


</div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>

<br></div><div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Lots of houses were already drawn in Brussels. Do you plan to integrate/reusing the existing nodes? Or simply replace what was already there, making sure the shops and amenities get transfered properly?<span><font color="#888888"><br>




<br>Jo</font></span><br><span></span><br><div><div></div></div></blockquote></div><div>Again on this one, i think it will be really hard to merge the nodes of existing houses... and to see what's already beneath is not easy either ..<br>




</div><div>Most (all?) of the building in BXL are traced with bing which is really inaccurate (at least all the building i did are like this : etterbeek, ixelles, ..) and i'm in favor of a ***carefull*** !! remove and replace with merging of amenity, ...<br>




<br></div><div>the integration will be slow but ...<br></div></div></div></div></blockquote></div><div><br>I've just been trying out the conflation plugin, but to my big disappointment it crashes... That would have been the real solution here.<br>


<br>There is another solution (which involves PostGIS), but I'll need some time to work it out.<br><br>In the mean time Utilsplugin 2 has a Replace Geometry tool, which does work. I first selected the URBis building, then the existing one, then Ctrl-Shift-G. Works like a charm. I created the associatedStreet relation manually.<br>


<br>I'll let you know if/when I manage to create a Python script to convert the osm files.<span class="HOEnZb"><font color="#888888"><br><br>Jo<br><br><br></font></span></div></div>
</blockquote></div><br></div>