Re: [OSM-talk] How best to create a single point of interest online map with OSM data?

2014-10-03 Thread Bryce Nesbitt
Overall CartoDB is working out fairly well.  Here's an example:
https://brycenesbitt.cartodb.com/viz/8385ca6a-49a1-11e4-ad81-0e4fddd5de28/public_map

I've post processed ways into nodes as suggested in this thread.
The cartoDB server side rendering is a big plus.  Though it does still get
laggy: try Europe.
The popup formatting is not as nice as uMap.  Both umap and CartoDB lag
Fusion Tables here.
Coloring dots according to an attribute is also easy in Fusion Tables, but
more awkward here.
The CartoDB example, unlike with uMap, is not live data.

This map also shows quite graphically how many toilets are missing from OSM
:-)!

  Bryce Nesbitt
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] How best to create a single point of interest online map with OSM data?

2014-10-01 Thread Simon Poole


Am 01.10.2014 03:00, schrieb Bryce Nesbitt:

 
 There's a lot to like about this.  However, limits I hit were:
 
 * Slowed down too much after about 200 points of interest (I need about
 30,000 minimum for the current project)

You definitely need to turn on clustering for your data layer.

 * Limited flexibility in designing the popup
 * Ways disappear on the map (they don't get a pin: zoom in on the map to
 see two hidden toilets).

That is a known problem, which however can be solved by pre-processing
the data. For example with osmconvert with --all-to-nodes (you will need
to remove untagged nodes with grep after this).

Simon





signature.asc
Description: OpenPGP digital signature
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] How best to create a single point of interest online map with OSM data?

2014-10-01 Thread SomeoneElse

On 01/10/2014 02:00, Bryce Nesbitt wrote:



* Slowed down too much after about 200 points of interest (I need 
about 30,000 minimum for the current project)

* Limited flexibility in designing the popup
* Ways disappear on the map (they don't get a pin: zoom in on the map 
to see two hidden toilets).




It's not the same sort of thing as uMap, but for info the switch2osm 
leaflet example does include some information about getting data from 
an external source for the map viewport (so you don't try and display 
everything all of the time):


http://switch2osm.org/using-tiles/getting-started-with-leaflet/

You'd presumably need to do something similar to thin out the POIs 
made available if there are too many in a given area.


Cheers,

Andy


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] How best to create a single point of interest online map with OSM data?

2014-10-01 Thread Marc Gemis
It depends on what is slowing down: retrieving the data via OverPass,
parsing that file, drawing the individual pins ?

- retrieving the data can be avoided by caching in a GeoJSON file. I don't
expect that clustering will help if this is the bottleneck
- the two other parts depend on your machine, browser and JavaScript
interpreter, although clustering helps improving the drawing, as one has to
display less pins.

Limiting the data to a certain viewport only helps when you start looking
for POIs when you are zoomed in enough. If you don't do that, you'll see
30.000 markers when the whole world is viewed.





On Wed, Oct 1, 2014 at 10:17 AM, SomeoneElse li...@mail.atownsend.org.uk
wrote:

 On 01/10/2014 02:00, Bryce Nesbitt wrote:



 * Slowed down too much after about 200 points of interest (I need about
 30,000 minimum for the current project)
 * Limited flexibility in designing the popup
 * Ways disappear on the map (they don't get a pin: zoom in on the map to
 see two hidden toilets).


 It's not the same sort of thing as uMap, but for info the switch2osm
 leaflet example does include some information about getting data from an
 external source for the map viewport (so you don't try and display
 everything all of the time):

 http://switch2osm.org/using-tiles/getting-started-with-leaflet/

 You'd presumably need to do something similar to thin out the POIs made
 available if there are too many in a given area.

 Cheers,

 Andy


 ___
 talk mailing list
 talk@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


[OSM-talk] How best to create a single point of interest online map with OSM data?

2014-10-01 Thread Rob Nickerson

* Ways disappear on the map (they don't get a pin: zoom in on the map to
see two hidden toilets).


This was a problem we had with the Mappa Mercia pub example. Turned out
overpass can export centre points and following an update to uMap we posted
a new guide:

http://www.mappa-mercia.org/2014/09/extracting-centroids-from-openstreetmap.html

Hope this helps.

As for the issue of too many points, one option is to have uMap collect
data dynamically (as per our guide) and restrict to only showing data when
at a certain zoom level or above (with clustering at lower zoom levels).

Best,
Rob
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] How best to create a single point of interest online map with OSM data?

2014-09-30 Thread Bryce Nesbitt
On Thu, Sep 18, 2014 at 3:14 AM, Jóhannes Birgir Jensson j...@betra.is
wrote:

 Mappa Mercia have a tutorial on this, using uMap with live data from
 Overpass
 http://www.mappa-mercia.org/2014/09/creating-an-always-up-to-date-map.html


Thanks for this.  I did try it:
http://umap.openstreetmap.fr/en/map/test-drinking-water_18320#13/37.8625/-122.2801

There's a lot to like about this.  However, limits I hit were:

* Slowed down too much after about 200 points of interest (I need about
30,000 minimum for the current project)
* Limited flexibility in designing the popup
* Ways disappear on the map (they don't get a pin: zoom in on the map to
see two hidden toilets).

I've sent feedback to the developers.
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] How best to create a single point of interest online map with OSM data?

2014-09-21 Thread Barry Hunter
http://cartodb.com has OSM Basemaps (via MapBox)

It can do server side rendering of datasets like fusion tables does.


On 18 Sep 2014 00:38, Bryce Nesbitt bry...@obviously.com wrote:

 What's the best way to create a global single point of interest map,
 with OSM?


 I'm thinking something like this local pay phone map:

 https://a.tiles.mapbox.com/v4/brycenesbitt.j82lj086/page.html?access_token=pk.eyJ1IjoiYnJ5Y2VuZXNiaXR0IiwiYSI6ImNFME9IckkifQ.Nd85HRRFP3Jy3gx8nQ3ATA#14/37.8699/-122.2603
 But global, and with all the tags for each node shown when the node is
 clicked on.


 Or this global drinking water map:

 https://www.google.com/fusiontables/embedviz?q=select+col3+from+1usHO73s_NDGKOx-2jbj0xtSHuHjxvWVo_2MvX_oviz=MAPh=falselat=41.571877511144756lng=-83.65702047624372t=1z=4l=col3y=2tmplt=2hml=GEOCODABLE

 But it feels wrong to use Google maps as the backdrop for OSM data,
 despite the advantages (the map above has 35,000 nodes many with photos,
 and yet it is snappy fast on any browser).

 What's a better way to do this?



 
 Note: The mapbox map started with an overpass API query.

 The fusion table example was an extract from the planet file, merged into
 a fusion table.  Google's servers create and cache bitmaps with the POI's.
 User clicks look up the matching data.  Thus it renders as fast as a slippy
 map, but has all the POI's readily available.

 ___
 talk mailing list
 talk@openstreetmap.org
 https://lists.openstreetmap.org/listinfo/talk



-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] How best to create a single point of interest online map with OSM data?

2014-09-20 Thread John F. Eldredge
What is the difference between a point of interest and a single point 
of interest?  Saying that a map will show multiple single points of 
interest seems like a contradiction.


On 09/17/2014 06:32 PM, Bryce Nesbitt wrote:

What's the best way to create a global single point of interest map,
with OSM?




--
John F. Eldredge -- j...@jfeldredge.com
Darkness cannot drive out darkness; only light can do that.
Hate cannot drive out hate; only love can do that.
Dr. Martin Luther King, Jr.

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] How best to create a single point of interest online map with OSM data?

2014-09-20 Thread Steve Doerr
I presume he means a map showing all occurrences of one particular type 
of point of interest, e.g. pubs.


Steve

On 20/09/2014 19:39, John F. Eldredge wrote:
What is the difference between a point of interest and a single 
point of interest?  Saying that a map will show multiple single 
points of interest seems like a contradiction.


On 09/17/2014 06:32 PM, Bryce Nesbitt wrote:

What's the best way to create a global single point of interest map,
with OSM?







---
This email is free from viruses and malware because avast! Antivirus protection 
is active.
http://www.avast.com


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] How best to create a single point of interest online map with OSM data?

2014-09-18 Thread Jóhannes Birgir Jensson
I'm using leaflet in this 5.000 POI map to show the distribution of 
estates in Iceland


http://osm.hlidskjalf.is/map-estates.php#7/64.767/-18.666

It seems adequate although zooming slows a bit down, each node is 
clickable but at the moment only contains the name.



Þann 17.9.2014 23:32, skrifaði Bryce Nesbitt:
What's the best way to create a global single point of interest map, 
with OSM?



I'm thinking something like this local pay phone map:
https://a.tiles.mapbox.com/v4/brycenesbitt.j82lj086/page.html?access_token=pk.eyJ1IjoiYnJ5Y2VuZXNiaXR0IiwiYSI6ImNFME9IckkifQ.Nd85HRRFP3Jy3gx8nQ3ATA#14/37.8699/-122.2603
But global, and with all the tags for each node shown when the node is 
clicked on.



Or this global drinking water map:
https://www.google.com/fusiontables/embedviz?q=select+col3+from+1usHO73s_NDGKOx-2jbj0xtSHuHjxvWVo_2MvX_oviz=MAPh=falselat=41.571877511144756lng=-83.65702047624372t=1z=4l=col3y=2tmplt=2hml=GEOCODABLE

But it feels wrong to use Google maps as the backdrop for OSM data, 
despite the advantages (the map above has 35,000 nodes many with 
photos, and yet it is snappy fast on any browser).


What's a better way to do this?



Note: The mapbox map started with an overpass API query.

The fusion table example was an extract from the planet file, merged 
into a fusion table.  Google's servers create and cache bitmaps with 
the POI's.  User clicks look up the matching data.  Thus it renders as 
fast as a slippy map, but has all the POI's readily available.



___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


Re: [OSM-talk] How best to create a single point of interest online map with OSM data?

2014-09-18 Thread Jóhannes Birgir Jensson
Mappa Mercia have a tutorial on this, using uMap with live data from 
Overpass


http://www.mappa-mercia.org/2014/09/creating-an-always-up-to-date-map.html


Þann 18.9.2014 08:30, skrifaði Maurizio Napolitano:

IMHO:
http://umap.openstreetmap.fr
... and you can also add a osm layer by using a overpass-api query
Try overpass-turbo.eu to create the query

___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk



___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk


[OSM-talk] How best to create a single point of interest online map with OSM data?

2014-09-17 Thread Bryce Nesbitt
What's the best way to create a global single point of interest map, with
OSM?


I'm thinking something like this local pay phone map:
https://a.tiles.mapbox.com/v4/brycenesbitt.j82lj086/page.html?access_token=pk.eyJ1IjoiYnJ5Y2VuZXNiaXR0IiwiYSI6ImNFME9IckkifQ.Nd85HRRFP3Jy3gx8nQ3ATA#14/37.8699/-122.2603
But global, and with all the tags for each node shown when the node is
clicked on.


Or this global drinking water map:
https://www.google.com/fusiontables/embedviz?q=select+col3+from+1usHO73s_NDGKOx-2jbj0xtSHuHjxvWVo_2MvX_oviz=MAPh=falselat=41.571877511144756lng=-83.65702047624372t=1z=4l=col3y=2tmplt=2hml=GEOCODABLE

But it feels wrong to use Google maps as the backdrop for OSM data, despite
the advantages (the map above has 35,000 nodes many with photos, and yet it
is snappy fast on any browser).

What's a better way to do this?



Note: The mapbox map started with an overpass API query.

The fusion table example was an extract from the planet file, merged into a
fusion table.  Google's servers create and cache bitmaps with the POI's.
User clicks look up the matching data.  Thus it renders as fast as a slippy
map, but has all the POI's readily available.
___
talk mailing list
talk@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk