[OSM-dev] Re: [OSM-talk] Waypoint upload Module

Joerg Ostertag (OSM Munich/Germany) openstreetmap at ostertag.name
Tue Aug 22 21:28:33 BST 2006


On Tuesday 22 August 2006 22:04, you wrote:
> On Tuesday 22 August 2006 20:44, you wrote:
> > Do you think it would be possible to add this Feature to osm-filter.pl ?
>
> what exactly were you thinking of?

I'm thinking of some options in osm-filter. 
 - upload a tracefile after converting it from format xy --> gpx
 - upload a tracefile after converting and filtering it
 - uploading .osm data after creating it with osm-filter 
   (This only later and only if filter-all was supplied)

> p.s. I'm about to release a perl module which can upload nodes etc. to OSM
> - I'll attach a copy if you want to play with that.  I haven't added
> documentation yet though.
>
> Usage:
>   my $osm = new osm;
>   $osm->setup("user\@domain","password","useragent_name");
>   $osm->tempfiles("temp1.txt", "temp2.txt");
>   # then start calling createnode etc.

This Module sounds like a nice start. That was almost exactly what I was 
looking for. 
I think we have to start a "Perl Module"-namespace for all these little need 
routines which help us work with osm and Geo Data. So we probably start with 
something like:
Geo::OSM::Upload.pm for these routines.
I have some more Functions too which would make sense to group into other 
Modules. So we only have to think of an apropriate place in svn for all these 
modules. What about something like 
   utils/perl/Geo/OSM/Upload.pm
Maybe we can combine this work with what the GeoPerl people are trying to 
achive.

-- 

Jörg (Germany, Munich)

http://www.ostertag.name/
TeamSpeak2: ts2.ostertag.name, user: tweety, Channel: "GPS Drive"
irc://irc.oftc.net/#osm




More information about the dev mailing list