Re: [OSM-dev] Dockerfile for overpass api

2018-07-23 Thread marc marc
Le 19. 07. 18 à 17:45, mmd a écrit :
> Am 19.07.2018 um 16:32 schrieb Stadtherr, Eric - US:
> 
>> I've had success with this one while doing some prototype testing, and
>> it worked well for our test case, but I haven't used it in a production
>> environment:
>> https://hub.docker.com/r/wiktorn/overpass-api/

> As none of the public Overpass instances run by Roland are based on
> Docker images

Rodolphe @ osm-fr make an ansible role used for the osm-fr instance
on a debian vm.
you may run this role in a docker but we didn't test it on other distro.

Regards,
Marc
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] Difficulty fetching data from API in own app, but not browser

2018-07-23 Thread mmd
Am 23.07.2018 um 18:19 schrieb Nick Whitelegg:
> 
>  Digging a bit more, it looks like the API will reject a request if
> you make it relatively soon after the first; is this correct?
> 

I think that's correct. The /map API call is handled by cgimap, which
has some rate limiting in place. It depends on the data volume returned
by a request, so fetching data for large areas will increase the
likelihood of hitting your quota fairly soon. I don't recall any
specifics at the moment, though.

-- 


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


Re: [OSM-dev] Difficulty fetching data from API in own app, but not browser

2018-07-23 Thread Nick Whitelegg

 Digging a bit more, it looks like the API will reject a request if you 
make it relatively soon after the first; is this correct?

Is there a specific time limit between requests, i.e. you can only make 
requests every X seconds (if so, I can code this into my app)?


To make it absolutely clear - I am using the API for editing purposes. 
Specifically, the feature I'm testing at the moment allows you to download data 
from the API (2x2km square centred on current location), select ways and 
add/modify a designation tag.


Thanks,

Nick



From: Nick Whitelegg 
Sent: 23 July 2018 16:50:14
To: dev@openstreetmap.org
Subject: [OSM-dev] Difficulty fetching data from API in own app, but not browser



Hi,

Currently experiencing some inconsistent behaviour with the API in which 
fetching via the browser gives a response,

but my own app ('MapThePaths', part of a project intended to help map footpaths 
and edit designation tags in the UK) frequently hangs waiting for a response.


MapThePaths uses the osmapi (Tobias Zwick) to fetch data.


Is there any reason currently why the API might be responding to standard web 
browsers but not custom apps?


FWIW my app should be reporting itself as "MapThePaths Android app" and I have 
just (around 16:35-16:40 UK time) made three unsuccessful requests with the 
bbox:  
-0.7295872761598865,51.09355911139382,-0.7005316007485753,51.11122494429744.


Sometimes, however, my app is retrieving data from OSM successfully (perhaps 
60-70% of the time).

No exception is thrown - just looks like a timeout.


I also observed similar behaviour 'in the field' yesterday afternoon when I was 
using the app in the countryside. The app could talk to my own API on 
mapthepaths.org.uk successfully but could not communicate with the OSM API.


Is this simply related to the issues with the OSM API at the moment related to 
moving to another server?


Thanks,

Nick


Nick Whitelegg
Senior Lecturer in Computing (Internet)  | School of Media Arts and Technology
Southampton Solent University  | RM424 | East Park Terrace | Southampton SO14 
0YN
T: 023 8201 3075 | E: 
nick.whitel...@solent.ac.uk | W: 
solent.ac.uk

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


[OSM-dev] Difficulty fetching data from API in own app, but not browser

2018-07-23 Thread Nick Whitelegg

Hi,

Currently experiencing some inconsistent behaviour with the API in which 
fetching via the browser gives a response,

but my own app ('MapThePaths', part of a project intended to help map footpaths 
and edit designation tags in the UK) frequently hangs waiting for a response.


MapThePaths uses the osmapi (Tobias Zwick) to fetch data.


Is there any reason currently why the API might be responding to standard web 
browsers but not custom apps?


FWIW my app should be reporting itself as "MapThePaths Android app" and I have 
just (around 16:35-16:40 UK time) made three unsuccessful requests with the 
bbox:  
-0.7295872761598865,51.09355911139382,-0.7005316007485753,51.11122494429744.


Sometimes, however, my app is retrieving data from OSM successfully (perhaps 
60-70% of the time).

No exception is thrown - just looks like a timeout.


I also observed similar behaviour 'in the field' yesterday afternoon when I was 
using the app in the countryside. The app could talk to my own API on 
mapthepaths.org.uk successfully but could not communicate with the OSM API.


Is this simply related to the issues with the OSM API at the moment related to 
moving to another server?


Thanks,

Nick


Nick Whitelegg
Senior Lecturer in Computing (Internet)  | School of Media Arts and Technology
Southampton Solent University  | RM424 | East Park Terrace | Southampton SO14 
0YN
T: 023 8201 3075 | E: 
nick.whitel...@solent.ac.uk | W: 
solent.ac.uk

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


[OSM-dev] OpenStreetMap Carto release v4.13.0

2018-07-23 Thread Daniel Koć
Dear all,

Today, v4.13.0 of the OpenStreetMap Carto stylesheet (the default
stylesheet on the OSM website) has been released. Once changes are
deployed on the openstreetmap.org it will take couple of days before
all tiles show the new rendering.

Changes include:
- Increased shield distances on roads
- Added icon for shop=ticket
- Added icon for shop=houseware
- Added icon for shop=charity
- Added icon for shop=second_hand
- Added icon for shop=interior_decoration
- Added icon for amenity=bureau_de_change
- Added icon for amenity=casino
- Added icon for amenity=boat_rental
- Updated shop=department_store icon
- Small documentation and code fixes

Thanks to all the contributors for this release.

For a full list of commits, see
https://github.com/gravitystorm/openstreetmap-carto/compare/v4.12.0...v4.13.0

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

-- 
"My method is uncertain/ It's a mess but it's working" [F. Apple]

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