<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Joe,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Think of the OSMFeatureProperties file as a kind of the JOSM tagging preset file. For your operation there shouldn’t be a need for any modification.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Since you already have the fields in the building footprints (as OSM tags), use the ‘OSM Attribute Selector’ tool to create stand-alone attribute fields for those entities. Then you can do the spatial join and copy the source attributes (as you had indicated below) into the stand-alone attribute fields. The logic to copy or not to copy in order to override existing values can be modeled with a little Python or VB script based on your preference.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>After the transfer select the modified features and run the ‘OSM Combine Attributes’ geoprocessing tool to combine the stand-alone attribute fields back into the single OSM tag collection.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>At this point you should follow the usual import guidelines mentioned at <a href="http://wiki.openstreetmap.org/wiki/Import/Guidelines#Discuss_import_with_community">http://wiki.openstreetmap.org/wiki/Import/Guidelines#Discuss_import_with_community</a>. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>You can even generate an OSM file (using the Export to OSM File geoprocessing tool) for the local community to inspect and get some feedback before uploading the data to the OSM server.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>- Thomas<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Joe Larson [mailto:joe@joelarson.com] <br><b>Sent:</b> Monday, April 23, 2012 4:07 PM<br><b>To:</b> imports@openstreetmap.org<br><b>Subject:</b> [Imports] Joining/merging address attributes to existing footprints<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hello wonderful list! Me (OSM userid: j03lar50n) and some other folks are making a strong push to digitize building footprints in our County, San Luis Obispo in California, U.S.A. - see relation here, if curious: <a href="http://www.openstreetmap.org/browse/relation/396496">http://www.openstreetmap.org/browse/relation/396496</a><o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>What I am now looking at is a workflow to "join" or merge attributes from an existing Address Points layer that is in Esri format(s). What I wanted to talk about here was my proposed mapping from the Esri point file to OSM attributes and also the actual workflow.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I think I will list it like:<o:p></o:p></p></div><div><p class=MsoNormal>[Source attribute -> OSM attribute]<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>ADDRESS -> addr:housenumber<o:p></o:p></p></div><div><p class=MsoNormal>PREFIX -> addr:street:prefix<o:p></o:p></p></div><div><p class=MsoNormal>NAME -> addr:street:name<o:p></o:p></p></div><div><p class=MsoNormal>TYPE -> addr:street:type<o:p></o:p></p></div><div><p class=MsoNormal>SUFFIX -> addr:street:suffix<o:p></o:p></p></div><div><p class=MsoNormal>UNIT -> addr:street:suffix<o:p></o:p></p></div><div><p class=MsoNormal>FULLNAME -> addr:full<o:p></o:p></p></div><div><p class=MsoNormal>ZIP -> addr:postcode<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>*I borrowed some of my ideas on this mapping below from iandees. It would have been much uglier before his mention of a similar effort*<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal><tag k="building" v="yes" /><o:p></o:p></p></div><div><p class=MsoNormal><tag k="addr:street:prefix" v="South" /><o:p></o:p></p></div><div><p class=MsoNormal><tag k="addr:street:name" v="Central Park" /><o:p></o:p></p></div><div><p class=MsoNormal><tag k="addr:street:type" v="Avenue" /><o:p></o:p></p></div><div><p class=MsoNormal><tag k="building:levels" v="2" /><o:p></o:p></p></div><div><p class=MsoNormal><tag k="chicago:building_id" v="403823" /><o:p></o:p></p></div><div><p class=MsoNormal><tag k="addr:housenumber" v="2807" /><o:p></o:p></p></div><div><p class=MsoNormal><tag k="addr:street" v="South Central Park Avenue" /><o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>I was thinking that the UNIQUE_ID attribute in my original data would now be unnecessary to "merge" to OSM, since each building-footprint would have a Way ID - *AND* we were not using that identifier with any current/historic data, so not lost ties/connections with changing unique id.<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>The "join" or merge: I'm still open to workflow suggestions but I might use the ArcGIS Editor for OpenStreetMap for this process. This will require Adding/Changing Feature Properties <a href="http://esriosmeditor.codeplex.com/wikipage?title=Add/Change%20Feature%20Properties&referringTitle=Change%20OSM%20Editing%20Options">http://esriosmeditor.codeplex.com/wikipage?title=Add%2fChange%20Feature%20Properties&referringTitle=Change%20OSM%20Editing%20Options</a> so I can do a Spatial Join of Address Points that touch building-footprints and transfer their attributes to the appropriate OSM attribute parallel. I wonder if this can be done easier with ogr2osm.py and JOSM however… <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Looking for thoughts, advice, etc. - I appreciate your time _ joe<o:p></o:p></p></div></div></body></html>