Peter Körner | 28 Jan 16:49 2015
Picon

[OSM-dev] Leaflet Plugin: Interactive Country-Sized Vector Layer


Hi

my Employer allowed me to publish a Leaflet-Plugin I've been working
on some time and he also gave me the time to write some Documentation
around it. I'd like to show it to you, hoping that it may help you
some day.

Often our customers want Maps where they can hover over Countries and
Click on them. Often they want us to paint the Countries depending on
some current data (ie: Do we have Jobs in this country right now?)

Both is not satisfyable with pre-rendered Tiles. Rendering Vector-Maps
in the Browser is nothing new, but I have not seen an Implementation
which can render the whole World in good enough Quality to show small
Countries like Singapore [1].

For this reason I implemented a Canvas-Based Vector-Layer that can
render a complete Worldmap in the Browser and uses some Canvas-Tricks
to provide a Hitmap to change the look of Countries in Realtime while
the Mouse-Cursor is hitting them.

We published it on Github:
<https://github.com/Personalwerk/Leaflet.InteractiveCountryVectorLayer>

I'll be happy to accept Pull-Requests for things that are missing or
nonfunctional.

Regards, Peter

(Continue reading)

Antje | 27 Jan 23:00 2015
Picon

[OSM-dev] OSM for Retina and high-pixel density devices

Hi,

I bought a new MacBook yesterday and when I visited OSM with that new device, its “retina” feature made
the tiles appear pixellated as if it has a low resolution. I see that the logo and favicon renders as
expected in “retina" mode, so I wonder if developers have considered high-pixel-density support for
tiles for any device, whether it’s a Mac or not.

Thanks in advance.
_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Matthijs Melissen | 27 Jan 22:12 2015
Picon

[OSM-dev] Release openstreetmap-carto v2.27.0

Dear all,

Today, v2.27.0 of the openstreetmap-carto stylesheet has been
released and rolled out to the openstreetmap.org servers.

Changes include:

* The following tags are now rendered: amenity=food_court,
amenity=doctors, natural=scree, natural=shingle, natural=bare_rock,
leisure=water_park, leisure=miniature_golf.
* The tags leisure=golf_course is now rendered with an icon.
* The following tags are no longer rendered: natural=desert,
military=barracks, and landuse=field are no longer rendered. The tags
natural=sand, landuse=military, and landuse=farmland might in some
cases be replacements.
* New icons for amenity=pharmacy, amenity=atm, amenity=bank,
shop=bakery, and amenity=cinema.
* Slightly improved icon for amenity=hospital, tourism=museum,
amenity=recycling, tourism=camping, leisure=playground, places of
worship.
* Private leisure=playground and amenity=recycling are now rendered transparent
* Prison areas are now rendered.
* Various bug fixes.

For a full list of commits, see
https://github.com/gravitystorm/openstreetmap-carto/compare/v2.26.1...v2.27.0

As always, we welcome any bug reports at
https://github.com/gravitystorm/openstreetmap-carto/issues.

(Continue reading)

Richard Stallman | 27 Jan 04:44 2015
Picon
Picon

[OSM-dev] License for Javascript code [repeat]

I sent this mail to the list 10 days ago, and hoped the developers
would discuss the question of how the code is actually licensed.
But there has been no discussion at all, and without a discussion
there can be no decision.  Would people please look at the issue?

The license for the Javascript code of web site is incompletely
specified.  The directory contains a copy of GNU GPL version 2,
which lists two licensing options for the code.

* GPL version 2 or later, which is what we recommend
  as it is compatible with GPL version 3.

* GPL version 2 only.

The GPL says that this decision is made and stated with notices in the
source files, but these source files have no such notices, meaning no
decision was ever stated.

Can I ask the developers of those files to make a choice, so that it
can be listed in the source files and finish specifying how they are
licensed?

--

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
(Continue reading)

Stephen Knox | 26 Jan 01:35 2015
Picon

[OSM-dev] OSM with Hadoop

Just wanted to say thanks to everyone for their thoughts and opinions on my proposal - it seems to have generated some interesting discussion at least!

I hope I can produce something that will be interesting for the community and look at it from an OSM standpoint as well as a "look at all this cool technology, we should use it to do something" standpoint.

I may well be back in touch with some people with some more technical questions.

Regards

Stephen
_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Paul Norman | 23 Jan 21:21 2015
Picon

[OSM-dev] Expanded osm2pgsql multi-backend usage example

A fairly new feature in osm2pgsql is the multi backend, a backend that 
allows multiple custom tables. Recently committed is an example multi 
style which creates two tables, one for buildings and another for bus 
stops. Although not too useful in itself, this serves t o show how 
osm2pgsql can be used with Lua transforms and the multi backend to 
import data in more complicated schemas and match more other schemas, 
particularly traditional GIS schemas.

This is somewhat of a feature overlap with imposm2/3 which also allows 
for arbitrary table schemas, but there are other differences in the 
feature sets.

https://github.com/openstreetmap/osm2pgsql/blob/master/docs/multi.md has 
the multi documentation, and the files multi.lua and multi.style.json 
are the example of what can be done.

Feedback is always welcome, and issues can be reported at 
https://github.com/openstreetmap/osm2pgsql/issues

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Malcolm Herring | 17 Jan 10:52 2015

[OSM-dev] Latest changeset in planet

How does one find the changeset level of planet-latest.osm?

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Richard Stallman | 16 Jan 21:21 2015
Picon
Picon

[OSM-dev] License for Javascript code

The license for the Javascript code of web site is incompletely
specified.  The directory contains a copy of GNU GPL version 2,
which lists two licensing options for the code.

* GPL version 2 or later, which is what we recommend
  as it is compatible with GPL version 3.

* GPL version 2 only.

The GPL says that this decision is made and stated with notices in the
source files, but these source files have no such notices, meaning no
decision was ever stated.

Can I ask the developers of those files to make a choice, so that it
can be listed in the source files and finish specifying how they are
licensed?

--

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Jóhannes Birgir Jensson | 15 Jan 18:27 2015
Picon

[OSM-dev] Automated map of contributions

For a few months I've made static maps by looking at changesets and putting down a marker on PNG roughly based on the centerpoint of changeset on a map. I've done this for Iceland and Botswana, both sparsely populated countries so the volume has been manageable.

4 examples here from Botswana: http://www.openstreetmap.org/user/Mapping%20Botswana/diary

Now the 1 year of edits video http://vimeo.com/83164362 is of course really inspiring.

My query is thus:

a) Does a tool exist which can create a static map of a single country for a given time period in the manner of the video (my PNG created "by magic")
b) If not then what would be the vital components in creating one (comparing GeoFabrik dumps?).

--Jói
_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Sven Geggus | 12 Jan 11:37 2015
Picon

[OSM-dev] osm2pgsql: Unable to import planet

Hello,

unfortunately I'm unable to import current planet files using osm2pgsql.
This might be a psql issue because the strange error message I get seems to
come from postgress rather than osm2pgsql:

osm2pgsql -U postgres -s --number-processes=8 -C4000 -S hstore-match-only.style --flat-nodes
/tmp/flatnodefile --hstore --hstore-match-only -d digmt planet-150105.osm.pbf
osm2pgsql SVN version 0.87.1 (64bit id space)

Using built-in tag processing pipeline
Using projection SRS 900913 (Spherical Mercator)
Setting up table: planet_osm_point
Setting up table: planet_osm_line
Setting up table: planet_osm_polygon
Setting up table: planet_osm_roads
Allocating memory for dense node cache
Allocating dense node cache in one big chunk
Allocating memory for sparse node cache
Sharing dense sparse
Node-cache: cache=4000MB, maxblocks=512000*8192, allocation method=11
Mid: loading persistent node cache from /tmp/flatnodefile
Allocated space for persistent node cache file
Maximum node in persistent node cache: 0
Mid: pgsql, scale=100 cache=4000
Setting up table: planet_osm_nodes
Setting up table: planet_osm_ways
Setting up table: planet_osm_rels

Reading in file: planet-150105.osm.pbf
Processing: Node(2672693k 1631.7k/s) Way(267143k 7.32k/s) Relation(2297370
57.27/s)Maximum node in persistent node cache: 3270508543
node cache: stored: 499159094(18.68%), storage efficiency: 95.21% (dense
blocks: 463882, sparse nodes: 24636458), hit rate: 13.42%
Osm2pgsql failed due to ERROR: get_way_list failed: FEHLER:  invalid memory alloc request size 18446744073709551613
(7)
Arguments were:
{158316322,37669753,156819792,156819720,245694537,156819742,158316324,126760837,95242622,95242612,31404881,158316333,29171707,26142674,37626540,29178874,26202582,29020170,57208434,57208429,26142794,29200328,29200230,293588151,29200312,29070293,24277202,34616458,24277204,61594153,158316940,158316941,158316934,35878683,35147653,57737110,158316942,26963683,57737104,95351513,95351552,95351505,95351547,95351519,95351544,35998299,158316920,158316943,158316935,127949408,35999803,127949407,314868523,124719357,36824502,36887582,158319685,158319677,36826753,119960436,119960555,119960556,158319690,158319678,158319703,39432345,39432346,231742109,42071595,42071598},

Any Idea?

Sven

-- 
"linux is evolution, not intelligent design"
(Linus Torvalds)

/me is giggls <at> ircnet, http://sven.gegg.us/ on the Web

----- End forwarded message -----

--

-- 
"linux is evolution, not intelligent design"
(Linus Torvalds)

/me is giggls <at> ircnet, http://sven.gegg.us/ on the Web

_______________________________________________
dev mailing list
dev <at> openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev
Paul Norman | 10 Jan 23:26 2015
Picon

[OSM-dev] osm2pgsql on old GEOS versions

osm2pgsql currently has some code for supporting geos 2.2, which I'm 
proposing to remove 
(https://github.com/openstreetmap/osm2pgsql/pull/251). There is not any 
testing of osm2pgsql with versions of geos that old, and old versions of 
geos are known to cause errors with geometry processing at times.

I'm interested if anyone is using geos 2.x, 3.0 or 3.1 with osm2pgsql. 
If you are running Ubuntu 12.04 or later with geos from packages, you 
are using a newer version. On most systems you can find out your geos 
version with geos-config --version. I'm also not interested in usage 
data about geos 3.2 - I know that is sometimes used, and sometimes 
causes problems.

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

Gmane