[OSM-dev] Nominatim 3.3.0 released

2019-05-02 Thread Sarah Hoffmann
Hi,

we are happy to announce the new release 3.3.0 of Nominatim.

This latest release makes Nominatim more configurable in custom installations.
There is a new reverse-only mode for imports where forward search is not
needed. In addition it is now possible to configure which OSM tags are taken
into account by Nominatim. This allows to describe exactly which types of
objects should be found in your instance. There are a number of example
configurations for frequent use cases which you might use as a starting
point. For more information read the installation documentation at
http://nominatim.org/release-docs/latest/

As usual there are also a number of bug fixes and minor improvements.
Details can be found in the ChangeLog file.

If you want to update from 3.x.x, there is a database migration path described
in the migration guide. Migrating from 3.1.0 can be done without problems.
However, when updating from 3.0.x, a full database reimport is strongly
recommended. Updating from older releases is only possible with
a database reimport.

This will be the last release to support PHP 5.x and PostgreSQL < 9.3.

Thank you to all who have contributed and in particular to the first
time contributor Thomas Barris.

Kind regards

Sarah

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


[OSM-dev] Nav apps with user-supplied gpx routes?

2019-05-02 Thread Tom Browder
Can anyone recommend a gps nav system or app that can integrate
user-supplied routes into a vector map of automobile roads and highways?

I would love to be able to integrate my routed onto Google Maps or OSM maps.

Best regards,

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


Re: [OSM-dev] Change Tile server on openstreetmap.org

2019-05-02 Thread Moritz Fromm
It's not about setting up a OSM CDN - I would like to but am not able to
do so.

I would just like to change of the tiles server (in my browser) the
openstreetmap website is using.

Mit freundlichen Grüßen / Kind regards Moritz Fromm

I do GPG with the key 0x9767CFDD10C4FC71 
To ensure the securityof the communication, please reply encrypted! 
Ich nutze GPG mit dem Schlüssel 0x9767CFDD10C4FC71!
Um die Sicherheit der ausgetauschten Inhalte zu gewährleisten, antworten sie 
bitte verschlüsselt!

https://emailselfdefense.org/

On 23.04.19 10:36, Simon Poole wrote:
> You might want to read
> https://wiki.openstreetmap.org/wiki/Servers/Tile_CDN first.
>
> Simon
>
> Am 22.04.2019 um 22:31 schrieb Moritz Fromm:
>> Hi,
>>
>> I am running an cache proxy for the OSM Tiles server. It's used in
>> another Project for an Leaflet map and it is considerably faster and
>> more responsive than the default {a-c}.tile.openstreetmap.org,
>> absolutely no offense there it's free and just fine overall I guess. I
>> would really like to use my cache proxy, and if the Server can handle it
>> offer it to others, on openstreetmap.org. This would both
>> considerablyincrease a users experience while also reducing the load on
>> the original tiles server. My plan is to do so using an browser
>> extension. I have not found uncompressed javascript code for
>> openstreetmap.org from which to extract the functions to call in order
>> to change the tiles server, What I have found from decompressing the
>> assets-.js is: 
>>
>>> L.OSM.TileLayer = L.TileLayer.extend({
>>>     options: {
>>>     url: "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png";,
>>>     attribution: '\xa9 >> href="https://www.openstreetmap.org/copyright";
>>> target="_blank">OpenStreetMap contributors'
>>>     },
>>>     initialize: function(t) {
>>>     t = L.Util.setOptions(this, t),
>>> L.TileLayer.prototype.initialize.call(this, t.url)
>>>     }
>>>     })
>> I believe this to be where the map is initialized, but executing the
>> same pice of code with my domain is not working. I am wondering:
>>
>>  1. was is the least stupid way in order to change the tiles after the
>> Page has been loaded?
>>  2. Is there any better way than writing a plugin for that job?
>>
>>
>> Greetings,
>> Moritz
>>
>>
>>
>> ___
>> dev mailing list
>> dev@openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/dev
>
> ___
> dev mailing list
> dev@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev



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


Re: [OSM-dev] oauth token lifetime

2019-05-02 Thread Jiri Vlasak
On Sat, Apr 27, 2019 at 02:40:13PM +0100, Tom Hughes wrote:
> On 27/04/2019 14:37, Jiri Vlasak wrote:
> > On Fri, Apr 26, 2019 at 07:28:39PM +0100, Tom Hughes wrote:
> > > On 26/04/2019 19:06, Jiri Vlasak wrote:
> > > > This approach is similar to one used by HOT Tasking Manager [1]. In my 
> > > > "oauth
> > > > settings" section I have many many "Tasking Manager 3 - Prod" tokens. 
> > > > And I
> > > > feel this approach is not right.
> > > 
> > > That's usually because the client is broken and is not storing the
> > > token but is instead requesting a new one every time you use it.
> > 
> > That's my guess too. So, I would like to write it better. My problem is 
> > that I
> > am quite confused by OAuth.
> > 
> > If I understand it correctly, OAuth is here for authorization. But, in my 
> > case
> > (and in the case of HOT Tasking Manager), the use case is authentication.
> 
> Yes it is really abuse of OAuth in general but is common.
> 
> Note that OAuth 2 (in the form of OpenID Connect) has basically
> merged the two use cases anyway.
> 
> > So maybe I should ask - is it possible to authenticate to osm.org?
> 
> Well yes, that is what OAuth does.

Ofcourse. I am sorry, still learning the OAuth thing.

> What is happening here is using your osm.org account to
> authenticate to a third party site.

That should be my question.

> That works if the third party is prepared to accept you
> allowing it to access osm.org as valid authentication.

Anyway, I did a little bit more research in OAuth and I think that I resolved
the most issues I needed. Thanks, Tom, for pointing me out!

Have a nice day,
jiri

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


Re: [OSM-dev] Feedback on project idea

2019-05-02 Thread Frederik Ramm
Michael,

On 01.05.19 22:22, HWANG, MICHAEL  (MICHAEL) wrote:
> I’m looking for feedback/interest in a new open source software project
> idea.  This project is intended to address the problem of systematically
> combining private geo-spatial datasets with OSM data.  There can be
> overlap (in terms of objects) between the private geo-spatial datasets
> and with OSM and the project’s goal is to de-duplicate and to merge all
> objects together to produce a new single, consistent, more complete
> dataset.  The reason why this is needed is that organizations have
> private datasets that will take time/never be pushed into OSM.

It is important to take a moment to look at the reasons here:

* Some datasets might be theoretically suitable for inclusion in OSM,
but the person or organisation using them doesn't have the patience or
resources to commit to a proper import process.

* Some datasets might be of insufficient quality for inclusion in OSM,
but the quality might be sufficient for a particular use case.

* Some datasets might be outright wrong - e.g. a politically defined
"official" set of boundaries that needs to be used to publish maps in a
country but is useless for all other purposes.

* Some datasets might be confidential or copyrighted and therefore not
suitable for contributing to OSM.

If there was a platform that allowed people to mix such data with OSM at
on the data user side, that would be a huge relief for OSM because it
would stop people from pushing low-quality data into OSM "just to make
nice maps" or "just to have the hospitals on their Garmin maps" or so -
they could mix-in questionable data with your toolchain.

Even better if the platform were public in a way that would allow people
to mix-in data provided by others, e.g. someone could at the push of a
button choose to have built-up areas from naturalearthdata.com in their
maps or so.

Lots of technical challenges, of course. In some of the cases above
there might also be license challenges; mixing your own restaurant data
with OSM's and de-duplicating and generating a "new and better" data set
would likely, if you publicly use that, lead to it having to be
published under ODbL so the "confidential/copyrighted" use cases would
have to be carefully checked.

> Would the OSM community be receptive to this sort of project and be open
> for collaboration?  If this is not the proper forum to ask, please let
> me know where else I can go to ask.

It is hard to ask "the OSM community" for anything but I guess here's as
good as anywhere.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frede...@remote.org  ##  N49°00'09" E008°23'33"

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