Re: [OSM-dev] OAuth difficulties from node.js client

2020-07-16 Thread Tom Hughes via dev

On 16/07/2020 16:04, Nick Whitelegg wrote:

Fiurthermore, if I use curl to send the same data to the endpoint, I 
also get a 500:


curl --data 
"oauth_consumer_key=EcdM735JygrmO42fzw8SIfbFUMDy1ShVY5bBnefn_nonce=cNvPEgdgjvQWX5FgS56XkyLaMhQNggmh_signature_method=HMAC-SHA1_timestamp=1594910535_version=1.0_callback=http%3A%2F%2Flocalhost%2Fapp%2F_signature=WuYA7G8s4qPCht%2BcF7t7FpTP0ck%3D" 
https://www.openstreetmap.org/oauth/request_token


I'm guessing something's wrong with the signing process. I used the 
examples given in the oauth-1.0a documentation to generate the parameters.


I'm surprised I'm getting a 500 rather than say a 400.


No that's normal - it's a bug in the OAuth library really but
getting a 500 if the client ID is invalid or the signature fails
is the "normal" behaviour as things stand.

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/

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


Re: [OSM-dev] OpenStreetMap Cartographic: A client-side rendered OpenStreetMap Carto

2020-05-26 Thread Tom Hughes via dev

More specifically what you are seeing is that it will let you zoom in
beyond zoom 8 but you are seeing data that was simplified on the basis
that it would be shown at zoom 8 where those artefacts would not be
visible.

Tom

On 26/05/2020 09:59, Simon Poole wrote:

I think you are missing

"Only zoom 0 to 8 has been implemented so far. I started at zoom 0 and
am working my way down."

Simon

Am 26.05.2020 um 10:42 schrieb Maarten Deen:

On 2020-05-26 10:15, Paul Norman via dev wrote:

On 2020-05-25 1:15 a.m., Maarten Deen wrote:

Still, it looks to be a very simplified subset of the complete data.
So I'd be interested to see how this works on a full dataset.


No, it has the full data except for admin boundaries and bay/straight
names on zoom 7 and 8. When you compare it to OpenStreetMap Carto
they're pretty similar. There are some labeling differences with sizes
of labels and when labels come in, but those don't have anything to do
with performance or size.


No, that's not what I'm seeing. I am seeing very basic and rectangular
landuses, obviously simplified, along with waterways, railways,
motorways, trunk, primary secondary roads and they too have been
simplified, to the extent that parallel ways on motorways are now
crossing eachother.

This is in my area:
https://pnorman.dev.openstreetmap.org/cartographic/mapbox-gl.html#12.14/51.36196/6.08322
https://imgur.com/a/WcYlVUc

Regards,
Maarten

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



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




--
Tom Hughes (t...@compton.nu)
http://compton.nu/

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