Hongyu Zhang | 26 May 23:58 2016
Picon

[OSM-dev] Compilation error of libosmium

Hi All,

I am trying to install (the latest) libosmium on a server running CentOS 6.7. When I compile the program using intel/15.0.6 and the make command, an error occurred:

---------------------------------------------------------------------------------------------------------------------------------------------------
$ make
[  1%] Built target testlib
[  3%] Building CXX object test/CMakeFiles/area_test_area_id.dir/t/area/test_area_id.cpp.o
icpc: command line warning #10159: invalid argument for option '-std'
/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/ext/atomicity.h(49): error: identifier "__ATOMIC_ACQ_REL" is undefined
    { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
                                              ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/ext/atomicity.h(49): error: identifier "__atomic_fetch_add" is undefined
    { return __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
             ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/ext/atomicity.h(53): error: identifier "__ATOMIC_ACQ_REL" is undefined
    { __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
                                       ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/ext/atomicity.h(53): error: identifier "__atomic_fetch_add" is undefined
    { __atomic_fetch_add(__mem, __val, __ATOMIC_ACQ_REL); }
      ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/cstdlib(178): error: identifier "__int128" is undefined
    inline __int128
           ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/cstdlib(179): error: identifier "__int128" is undefined
    abs(__int128 __x) { return __x >= 0 ? __x : -__x; }
        ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1405): error: identifier "__int128" is undefined
      struct numeric_limits<__int128>
                            ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1409): error: identifier "__int128" is undefined
        static _GLIBCXX_CONSTEXPR __int128
                                  ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1412): error: identifier "__int128" is undefined
        static _GLIBCXX_CONSTEXPR __int128
                                  ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1421): error: identifier "__int128" is undefined
         = __glibcxx_digits (__int128);
           ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1421): error: function call is not allowed in a constant expression
         = __glibcxx_digits (__int128);
           ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1423): error: function call is not allowed in a constant expression
         = __glibcxx_digits10 (__int128);
           ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1432): error: "__int128" is not a type name
        static _GLIBCXX_CONSTEXPR __int128
                                  ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1435): error: "__int128" is not a type name
        static _GLIBCXX_CONSTEXPR __int128
                                  ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1450): error: "__int128" is not a type name
        static _GLIBCXX_CONSTEXPR __int128
                                  ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1454): error: "__int128" is not a type name
        static _GLIBCXX_CONSTEXPR __int128
                                  ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1458): error: "__int128" is not a type name
        static _GLIBCXX_CONSTEXPR __int128
                                  ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1462): error: "__int128" is not a type name
        static _GLIBCXX_CONSTEXPR __int128
                                  ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1410): error: expected a ")"
        min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (__int128); }
                                             ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1410): error: expected a ")"
        min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (__int128); }
                                             ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1410): error: expected a ")"
        min() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_min (__int128); }
                                             ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1413): error: expected a ")"
        max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (__int128); }
                                             ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1413): error: expected a ")"
        max() _GLIBCXX_USE_NOEXCEPT { return __glibcxx_max (__int128); }
                                             ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1452): error: "__int128" is not a type name
        { return static_cast<__int128>(0); }
                             ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1456): error: "__int128" is not a type name
        { return static_cast<__int128>(0); }
                             ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1460): error: "__int128" is not a type name
        { return static_cast<__int128>(0); }
                             ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1464): error: "__int128" is not a type name
        { return static_cast<__int128>(0); }
                             ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1479): error: expected a ">"
      struct numeric_limits<unsigned __int128>
                                     ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1484): error: expected a ";"
        min() _GLIBCXX_USE_NOEXCEPT { return 0; }
        ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1497): error: expected a ")"
         = __glibcxx_digits10 (unsigned __int128);
           ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1497): error: expected a ")"
         = __glibcxx_digits10 (unsigned __int128);
           ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1506): error: "__int128" has already been declared in the current scope
        static _GLIBCXX_CONSTEXPR unsigned __int128
                                           ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1507): error: expected a ";"
        epsilon() _GLIBCXX_USE_NOEXCEPT { return 0; }
        ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1524): error: "__int128" has already been declared in the current scope
        static _GLIBCXX_CONSTEXPR unsigned __int128
                                           ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/limits(1525): error: expected a ";"
        infinity() _GLIBCXX_USE_NOEXCEPT
        ^

/opt/sharcnet/gcc/4.9.3/include/c++/4.9.3/bits/c++0x_warning.h(32): catastrophic error: #error directive: This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
  #error This file requires compiler and library support for the \
   ^

compilation aborted for /home/hzhan338/libosmium/test/t/area/test_area_id.cpp (code 4)
make[2]: *** [test/CMakeFiles/area_test_area_id.dir/t/area/test_area_id.cpp.o] Error 4
make[1]: *** [test/CMakeFiles/area_test_area_id.dir/all] Error 2
make: *** [all] Error 2
---------------------------------------------------------------------------------------------------------------------------------------------------

Could someone help me solve this issue? Thanks!


Hongyu Zhang 
MSc Candidate | University of Western Ontario
_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Ian A. Barker | 26 May 11:26 2016

[OSM-dev] Vespucci

Looking for Vespucci developers. Ideally in UK

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
nebulon42 | 25 May 19:19 2016

[OSM-dev] extract osm-carto low zoom data with libosmium (was: Updated simplified osm2pgsql database dump available)

Am 2016-05-24 um 21:50 schrieb Paul Norman:
> To help with some OpenStreetMap carto development work, I've created a
> dump of the rendering tables with certain features removed, for testing
> at low zoom.

Very useful, thanks! I have created a small C++ program for use with
libosmium that should extract the relevant data for openstreetmap-carto
up to z8 from OSM PBF files and serves a related purpose. I'm planning
to work on some low-zoom improvements again and this time I wanted to
have a complete low-zoom setup. Maybe it is useful for somebody else
too. Note that the data generated by this tool has still to be imported
with osm2pgsql.

It can be found here: https://github.com/gmgeo/osm-carto-lowzoom

nebulon42

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Bryan Housel | 25 May 16:16 2016
Gravatar

[OSM-dev] iD news: v1.9.5 released

iD v1.9.5 was released May 25 2016 and is now available for editing on openstreetmap.org

The release includes:
- Fix bug causing Russian track type translated strings to sneak into tag values
- Change color of save button as user edits increase (built by tanerochris)
- Spacebar can now be used to click for faster drawing (built by brandonreavis)
- Localized phone number placeholder (built by dobratzp)
- Command-B / Control-B will switch to recently used Background imagery (built by RoPP)
- Fix bug causing greedy autocompletion of dropdown control (built by Kushan Joshi)
- More presets, bug fixes, usability improvements

Many thanks to everyone who contributed to this release!  I’m really excited about how many people are contributing to iD these days. 



Thanks,
Bryan

Follow me on Twitter https://twitter.com/bhousel, or follow the iD project on GitHub https://github.com/openstreetmap/iD for more iD tips and updates.
_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Paul Norman | 24 May 21:50 2016
Picon
Gravatar

[OSM-dev] Updated simplified osm2pgsql database dump available

To help with some OpenStreetMap carto development work, I've created a 
dump of the rendering tables with certain features removed, for testing 
at low zoom. This allows someone to load the database if using a machine 
incapable of importing the planet, and the dropped features cut the 
database size in half.

It is available at http://tile.paulnorman.ca/planet-lz-160425.dump but 
before downloading please read the notes below

- Buildings without a name, amenity, shop, or similar tag have been removed

- Residential roads have been removed

- Don't try to download this from your browser, as it is 26GB. If you 
need to check the download, the md5sum is 5c771789b0820b4f7c4f705156633c7f

- The dump has been generated with pg_dump from PostgreSQL 9.4 in the 
pg_dump "custom" format and -Z9. To get 9.4 on Debian or Ubuntu based 
systems, see https://wiki.postgresql.org/wiki/Apt

- The indexes at 
https://github.com/gravitystorm/openstreetmap-carto/blob/master/indexes.sql 
have been added, except with a fillfactor of 100.

- The database is 78GB after loading and index creation. Data only is 56GB.

To restore, do

createdb gis
psql -d gis -c 'create extension postgis;'
pg_restore -d gis -O -j4 planet-lz-160425.dum

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Christian Ledermann | 24 May 11:59 2016
Picon
Gravatar

[OSM-dev] oauth api errors?

 since a few days I cannot connect to osm via the Oauthapi any more
  500 Server Error: Internal Server Error for url:
http://www.openstreetmap.org/oauth/request_token
 same for api06.dev
  500 Server Error: Internal Server Error for url:
http://api06.dev.openstreetmap.org/oauth/request_token
  were there any changes recently?

-- 
Best Regards,

Christian Ledermann

Newark-on-Trent - UK
Mobile : +44 7474997517

https://uk.linkedin.com/in/christianledermann
https://github.com/cleder/

<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don’t drive species to extinction

2) Don’t destroy a habitat that species rely on.

3) Don’t change the climate in ways that will result in the above.

}<(((*>

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Pierre Béland | 13 May 23:16 2016
Picon

[OSM-dev] No Access to wiki.openstreetmap.org

cannot access Wiki pages. My navigator reports no access.

 
Pierre
_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Michael Kussmaul | 11 May 13:41 2016
Picon

Re: [OSM-dev] Osmosis RuntimeException: Pipeline entities are not sorted

Yes, I see the same problem, I’m using osmosis to keep my local planet file up-to-date and now see the same
error as Jan Michel:

org.openstreetmap.osmosis.core.OsmosisRuntimeException: Pipeline entities are not sorted,
previous entity type=Node, id=257882, version=5 current entity type=Node, id=257882, version=5.

Again node 257882.

My osmosis command:
osmosis —read-replication-interval workingDirectory=/import/data/diffs/ --simplify-change
--write-xml-change /import/data/diffs/data/changes.osc.gz

kind regards
Michael
_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Bryan Housel | 4 May 16:12 2016
Gravatar

[OSM-dev] iD news: v1.9.4 released

iD v1.9.4 was released May 3 2016 and is now available for editing on openstreetmap.org

The release includes:
- Fix bug causing the Save button to remain disabled even when changeset comment entered
- Support setting imagery offset via url parameter
- New multiple selection field type (built by Kushan Joshi), used for tagging:
   - `payment:*`  (supported on Vending Machine presets)
   - `currency:*`  (supported on Vending Machine, Money Exchange, ATM presets)
   - `fuel:*`          (supported on Gas Station, Marine Fuel Station presets)
   - `recycling:*`  (supported on Recycling presets)
- Additional bug fixes and usability improvements



Thanks,
Bryan

Follow me on Twitter https://twitter.com/bhousel, or follow the iD project on GitHub https://github.com/openstreetmap/iD for more iD tips and updates.
_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Gerardo Velez | 29 Apr 21:52 2016

[OSM-dev] Osmosis RuntimeException: Pipeline entities are not sorted

 

Hello,

 

I’ve been using osmosis ver 0.44.1 to update my openstreetmap database for at least a month without any problem, but today trying to process  http://planet.osm.org/replication/day/000/001/325.osc.gz change file I got the following error:

 

SEVERE: Thread for task 1-read-xml-change failed

org.openstreetmap.osmosis.core.OsmosisRuntimeException: Pipeline entities are not sorted, pr

evious entity type=Node, id=199245, version=7 current entity type=Node, id=199245, version=7

.

 

Looking at the changes file content I notice there are several lines with exactly the same data which I suppose is the problem, like the following lines:

 

        <node id="199245" lat="59.3317836" lon="18.3465899" version="7" timestamp="2016-04-28T00:35:16Z" changeset="38938814" uid="505284" user="Fringillus">

                <tag k="highway" v="priority"/>

        </node>

        <node id="199245" lat="59.3317836" lon="18.3465899" version="7" timestamp="2016-04-28T00:35:16Z" changeset="38938814" uid="505284" user="Fringillus">

                <tag k="highway" v="priority"/>

        </node>

 

What I did just to test was deleting the first one and reprocess the file, the first error went away but I got the same error for other nodes so I believe the duplicate data is the problem, as it was working perfect for a time until today I guess the problem is in the changes file but it would also be good if osmosis could handle this kind of issues, or if it already handle them I’d appreciate some hints to remove all duplicate nodes and process this change file.

 

Thanks in advance for your help.  

 

Gerardo Vélez

 

 

 

 

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Bryan Housel | 28 Apr 16:51 2016
Gravatar

[OSM-dev] iD news: v1.9.3 release and participation in Google Summer of Code

Hi, OSM!
Just wanted to announce a few things about the iD editor project..

iD 1.9.3 was released Monday 4/25/16 and is now available for editing on openstreetmap.org.
The release includes:
- easy draggable imagery offset adjustment control (built by Kushan Joshi)
- warning for user if they mention Google in their changeset comment
- terrain backgrounds provided by Stamen and Thunderforest (Andy Allan)
- new presets:  Prison, Coffee Shop, Nutrition Supplements store
- various bug fixes and usability improvements


Also..
iD will be participating in Google Summer of Code!  
I’ll be working with Kushan Joshi on building a visual lane editor within iD this summer.  
Kushan has been a valuable contributor to iD over the past several months and I’m really looking forward to this project.  
Please join me in congratulating Kushan and welcoming him to the OSM community!

We’re tracking lane tagging on this GitHub ticket, https://github.com/openstreetmap/iD/issues/387, where Kushan has shared a link to his proposal.



This year I am trying to stick to a roughly monthly release schedule for iD.  If people find it helpful, I’ll continue to post iD release news on the OSM mailing lists.  
And as always, follow me on Twitter https://twitter.com/bhousel, or follow the iD project on GitHub https://github.com/openstreetmap/iD for more iD tips and updates.

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

Gmane