Jochen Topf | 6 Feb 18:49 2016

[OSM-dev] New libosmium/pyosmium versions

I recently released version 2.6.0 of libosmium, a C++ library for working with
OSM data and the PyOsmium python bindings for it. Libosmium is a bit faster
again reading OSM data, but the most interesting new feature is improved
support for writing OSM data from C++ and also now from Python.

See http://osmcode.org/ and the git repositories at 
https://github.com/osmcode/libosmium and
https://github.com/osmcode/pyosmium.

Jochen
--

-- 
Jochen Topf  jochen <at> remote.org  http://www.jochentopf.com/  +49-351-31778688

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Peter Barth | 4 Feb 11:10 2016
Picon

[OSM-dev] Application for Google Summer of Code 2016

Hi all,

in less than a week the time slot for organizations to apply for
this year's Google Summer of Code opens. In my opinion our
participation last year (and the years before) had been a
success. We got a bunch of coding done, we also got new students
that stick with our great project and community and our
organization got some money, too. I also did a survey last year,
asking all mentors what they think about the output of GSoC,
about their students and especially if they think we should
reapply this year: Everyone did think so.

So I'm suggesting to apply again this year and I'm again willing
to do the administrative tasks. As time rushes, I'll wait for
this weekend for any objections.

So, please comment or object or silently agree :)

Thanks,
Peda

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
mick | 3 Feb 02:11 2016
Picon

Re: [OSM-dev] Extracting info from XML open street map file

On Fri, 29 Jan 2016 09:20:30 +0100
Jochen Topf <jochen <at> remote.org> wrote:

> On Mi, Jan 27, 2016 at 03:06:25 +0000, mick wrote:
> > On Tue, 26 Jan 2016 15:52:03 +0100
> > Jochen Topf <jochen <at> remote.org> wrote:
> >   
> > > On Di, Jan 26, 2016 at 01:10:06 +0000, mick wrote:  
> > > > I've been struggling for a few years, on and off to extract useable subsets
> > > > from open streetmap files with very limited success. osm2pgsql produces the
> > > > best results but depends on knowing all the keys in the input file.    
> > > 
> > > You might be looking for hstore:
> > > http://wiki.openstreetmap.org/wiki/Osm2pgsql#hstore
> > > 
> > > Then again, this might not do what you want. Depends on what you mean with
> > > "useable subsets from open streetmap". Maybe you can explain some more about
> > > what you are trying to achieve in the end.
> > > 
> > > Jochen
> > > -- 
> > > Jochen Topf  jochen <at> remote.org  http://www.jochentopf.com/  +49-351-31778688
> > >   
> > The final result I'm after is a set of themed MapInfo layers (coastline, waterways, roman roads, roman
settlements, etc.). The reason I'm extracting tags is to create a complete list of tags to create a
comprehensive osm2pgsql .style file store the refined data in a postgis database.
> > 
> > Due to limitations in MapInfo a record is limited to 4000 characters and a field to 254 characters. Using
hstore fails due to truncation.  
> 
(Continue reading)

Rajesh Elumalai | 29 Jan 16:38 2016
Picon

[OSM-dev] Installing tile server on Ubuntu 14.04

Hi,

I am trying to set up a tile server based on https://switch2osm.org/serving-tiles/manually-building-a-tile-server-14-04/ this instruction.

What should be the user name given in this section below?

sudo -u postgres -i createuser username # answer yes for superuser (although this isn't strictly necessary) createdb -E UTF8 -O username gis exit
I tried giving a new user name other than the terminal user, but getting permission denied error later in the process. Please help. 
--
Regards,
Rajesh
_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
mick | 26 Jan 02:10 2016
Picon

[OSM-dev] Extracting info from XML open street map file

I've been struggling for a few years, on and off to extract useable subsets from open streetmap files with
very limited success. osm2pgsql produces the best results but depends on knowing all the keys in the input file.

I have grep'd and sort -u the input to produce a list of unique key/value tags (2.1 million of them). The next
step is to process that list into an osm2psql style file but I can't think how to automate that process.

Generic key/value lines:
========================
		<tag k="107" v="96"/>
		<tag k="1744_field_ref" v="143"/>
		<tag k="1744_field_ref" v="94"/>
		<tag k="1860name" v="Aberargie Mill (Corn &#38; Flour)"/>

osm2pgsql style:
================
node,way   building     text         polygon
node       capital      text         delete	#linear
node,way   construction text         delete	#linear

I've spent the last 3 days doing it manually but only got about 10% into it and am at the stage where I keep
making mistakes.

Can sks please give me a few pointers on the nifty *nix utilities that can work some magic on this process.

mick in glen innes

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Tomas Straupis | 25 Jan 09:26 2016
Picon

[OSM-dev] Reverting changesets

Hello

  Three changesets were found to be accidentally deleting quite large
amounts of correct data. I have informed the user and asked him to
wait until revert is completed. Changesets in question are: 36781121,
36781218 and 36781956.

  I'm starting with the last one and intend to revert all three.

  But there I have a problem, JOSM reverter plugin does not work (it
fetches info but does not apply any changes and does not complain
about anything) and there was info on weeklyosm that reverter plugin
is broken at this time.

  I then tried reverter scripts (as per
http://wiki.openstreetmap.org/wiki/Revert_scripts). But running:
  ./revert.pl 36781956

  fetches objects, identifies correct delete/modify operations to be
done but then fails with:

  PUT changeset//close
Use of uninitialized value $body in concatenation (.) or string at
OsmApi.pm line 227.

  I'm still running in dry mode. I wonder if I could proceed anyway or
should I ask somebody else (DWG?) for help?

  Thank you

P.S. I'm running scripts on fedora 23.

--

-- 
Tomas

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Wolfram Schneider | 20 Jan 18:54 2016
Picon

Re: [OSM-dev] Berlin Hack Weekend in February

On 3 January 2016 at 12:56, Frederik Ramm <frederik <at> remote.org> wrote:
> Hi,
>
>    there will be another OSM hack weekend in Karlsruhe on the 27/28
> February:
>
> http://wiki.openstreetmap.org/wiki/Karlsruhe_Hack_Weekend_February_2016

btw, there is also a OSM hack weekend in Berlin on the 06/07 February 2016.

https://wiki.openstreetmap.org/wiki/Berlin_Hack_Weekend_February_2016

-Wolfram

> Everyone is welcome.
>
> Bye
> Frederik
--

-- 
Planet.osm extracts: http://extract.bbbike.org
BBBike Map Compare: http://bbbike.org/mc

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Florian Lohoff | 18 Jan 08:11 2016
Picon

[OSM-dev] libosmium / spatialindex


Hi,

I am playing around with QA and for that i am using libosmium to walk
through the pbf files. Simple bugs are easy to do like missing, tags,
tags on wrong objects, broken tag combinations. For node reusage
for areas i used a std::vector<wayid> in a node index which worked
okay.

Now i am progressing to more complex checks with spatial relation and
for that i am thinking of writing ways e.g. their geometry and their
tags into a spatial index.

I used libspatialindex for that and wrote myself some code to create a
serialized compressed way (tags/values as variable length integers
and a geos wkb geometry). It works "sort of" but i am dissatisfied by
the code and keep refactoring it over and over which does not make it
more beautiful.

As typically i am not the first to approach stuff like that most likely
somebody else has already done that with libosmium.

So - Does anyone already have a generic Osmium Object Spatial Index
storage at hand that i just overlooked?

Flo
--

-- 
Florian Lohoff                                                 f <at> zz.de
      We need to self-defend - GnuPG/PGP enable your email today!
_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Pichler, Markus | 11 Jan 14:16 2016
Picon

[OSM-dev] Usage of the standard dev server

Hello everybody,

 

I have a question regarding the usage of the dev server reachable under http://api06.dev.openstreetmap.org/.

I wanted to use this server for some JOSM testing and did what was described here: http://wiki.openstreetmap.org/wiki/Sandbox_for_editing.

It says on that page that the dev server is mostly empty, but if you go to the page http://api06.dev.openstreetmap.org/ it shows the entire world, just like the main openstreetmap.org site. However, if I do a download request in JOSM, it is empty. So my question is: Why is the map not a representation of the database on the dev server, showing basically nothing except in those places where somebody uploaded something for test purposes? Or am I missing something here?

 

Markus

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Even Rouault | 10 Jan 14:29 2016

[OSM-dev] osmformat.proto vs wiki: inconsistencies on Node field ids

Hi,

I've noticed an inconsistency in the ids of the fields of the Node
message between http://wiki.openstreetmap.org/wiki/PBF_Format and
https://github.com/openstreetmap/osmosis/blob/master/osmosis-osm-binary/src/main/protobuf/osmformat.proto

The wiki mentions :

message Node {
   required sint64 id = 1;
   required sint64 lat = 7;
   required sint64 lon = 8;
   repeated uint32 keys = 9 [packed = true]; // Denote strings 
   repeated uint32 vals = 10 [packed = true];// Denote strings
   optional Info info = 11; // Contains metadata
}

And the .proto :

message Node {
required sint64 id = 1;
// Parallel arrays.
repeated uint32 keys = 2 [packed = true]; // String IDs.
repeated uint32 vals = 3 [packed = true]; // String IDs.
optional Info info = 4; // May be omitted in omitmeta
required sint64 lat = 8;
required sint64 lon = 9;
}

Except "id", all other fields ids are different.

I assume the .proto is up-to-date. Has there been a change at some point ?

Thanks,

Even

--

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Oleksiy Muzalyev | 8 Jan 10:30 2016
Picon

[OSM-dev] JOSM 9329, - Change default color of GPS tracks to magenta (r9248)

I like this change a lot. Now GPS tracks are clearly visible on the 
satellite image. I look at GPS tracks carefully in JOSM before going to 
mountains.

A GPS track in mountains means that someone actually walked a route, and 
if there are three or four GPS tracks means that it is a well-frequented 
path.

For example, there are quite a few GPS tracks visible in JOSM between 
Plambuit train station and Salin [1]. This is a safe path [2] with 
amenities for tourists. Another one, closer to the ravine of the Grande 
Eau river, where there is only one GPS track, has got a risk of rockfalls.

Sometimes a path is not mapped at all, but there are still GPS tracks.

I wish it could be possible to view GPS tracks in magenta color as a map 
layer at the main OSM page, and also in mobile applications, especially 
like MAPS.ME, which allow to download a map (often no Internet access in 
mountains). It would be a potentially life-saving feature.

brgds
O.

[1] http://osm.org/go/0CH_rCNT?m=
[2] http://www.sentierdusel.ch/

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev

Gmane