<div dir="ltr">Hi!<br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 6, 2016 at 12:56 AM, Stefan Keller <span dir="ltr"><<a href="mailto:sfkeller@gmail.com" target="_blank">sfkeller@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I of course know Shapefiles but they are deprecated because e.g. they<br>
cut-off field names at 10 chars. GeoJSON or GeoPackage are better<br>
alternatives.<br></blockquote><div><br></div><div>For RABA-KGZ landuse import in Slovenia we pushed the-10 character limit in shapefiles / dbf to 11 characters and even inserted special characters (colons) in field name (to allow us to have "source:date" tag) by altering the binary data using bbe (sed-like binary block editor) as the last step of data preparation:</div><div>bbe -e "s/SOURCEDATE\x00/source:date/" source.dbf -o target.dbf<br></div><div><br></div><div>JOSM reads it nicely using OpenData plugin, as well as QGIS and other editors.</div><div><br></div><div>Full example and context can be seen at</div><div><a href="https://github.com/stefanb/RabaSplitForOSM/blob/master/makeOneSplitExplode.sh#L94">https://github.com/stefanb/RabaSplitForOSM/blob/master/makeOneSplitExplode.sh#L94</a><br></div><div><br></div><div>Example shapefiles can be seen (in browser and in JOSM) at <a href="http://raba.openstreetmap.si">http://raba.openstreetmap.si</a></div><div><br></div><div>best regards,</div><div>Stefan</div></div></div></div>