Todos:

    * don't overwrite existing streets.
    * run the validator, merge street segments
    * join streets that end near each other.
    * don't upload points that are not connected.

code:

Here is the hack to shp2osm.pl that does the splitting, please use
that if you want to do mass imports. http://pastebin.com/f30247bfb

It splits by street count, not node count to get a clean cut. It is
what I used to produce those files. the shape file is also online on
archive.org


On Mon, Feb 1, 2010 at 11:58 AM, jamesmikedup...@googlemail.com
<jamesmikedup...@googlemail.com> wrote:
> There is a reason I split them up by streets and not by node count,
> it is to avoid lonly points with no streets like this :
> http://www.openstreetmap.org/browse/node/624505841
>
> that whole section of the map is full of points with no streets.
>
> :(
>
>
> On Mon, Feb 1, 2010 at 11:47 AM, jamesmikedup...@googlemail.com
> <jamesmikedup...@googlemail.com> wrote:
>> Thanks for heads up,
>> The idea of doing smaller chunks is to avoid conflicts,
>> but if you get the latest data from the server  we should be alright.
>> Also the big deal is to not overwrite existing streets.
>> There is alot of data!
>> mike
>>
>> On Mon, Feb 1, 2010 at 11:20 AM, Rob <r...@robreid.co.nz> wrote:
>>> jamesmikedup...@googlemail.com wrote:
>>>> looks good!
>>>> I will share that with the others.
>>>> mike
>>>>
>>>> On Sun, Jan 31, 2010 at 12:20 PM, Rob <r...@robreid.co.nz> wrote:
>>>>
>>>>> Maarten Deen wrote:
>>>>>
>>>>>> That wiki table is a good idea. Let me know if you can't make it today 
>>>>>> (your
>>>>>> day), maybe I can continue.
>>>>>>
>>>>>>
>>>>> Quick attempt:
>>>>> http://wiki.openstreetmap.org/wiki/Kosovo_iMMAP_Import
>>>>>
>>>>> I'm not a wiki expert so feel free to improve as required or let me know
>>>>> what changes you want to the table and I'll try to sort it out.
>>>>>
>>>>> rcr
>>>>>
>>> Just a heads up if you are working on these imports.
>>> It looks like Malenki is attempting to import the whole block of data so
>>> beware of conflicts.
>>> http://wiki.openstreetmap.org/wiki/Talk:Kosovo_iMMAP_Import
>>>
>>> rcr
>>>
>>> _______________________________________________
>>> talk mailing list
>>> talk@openstreetmap.org
>>> http://lists.openstreetmap.org/listinfo/talk
>>>
>>
>

Attachment: shp2osm.pl
Description: Perl program

_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to