Re: [OSM-dev] 403 forbidden

2019-05-31 Thread Martin Koppenhoefer


sent from a phone

> On 31. May 2019, at 08:08, Vijaya Nand  wrote:
> 
> Please suggest me how I can check what's wrong with gmap.net


it was already written, the reason is they are faking the user agent and are 
not willing to change this 


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


Re: [OSM-dev] 403 forbidden

2019-05-31 Thread Mike N

On 5/31/2019 12:47 AM, Vijaya Nand wrote:
Please suggest me how I can get OSM API user id and password so that I 
can pass that to authenticate.


Please suggest me how I can check what's wrong with gmap.net 
.


  It would be logical to add Mapbox as another source to GreatMaps as a 
proper tile source.   Here's another project that can use Mapbox vector 
tiles https://github.com/AliFlux/VectorTileRenderer



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


[OSM-dev] 403 forbidden

2019-05-31 Thread Justmapzz Rodolfo
Title: [OSM-dev] 403 forbidden


In order to prevent suspicious situations in the future, I compiled a modified version of GMAP.NET, in which the controversial definition of the user-agent is eliminated. All apps that use this version must define the user-agent themselves now.
The lines concerned in GMapProvider.cs now look like this:

//public static string UserAgent = string.Format("Mozilla/5.0 (Windows NT {1}.0; {2}rv:{0}.0) Gecko/20100101 Firefox/{0}.0",
      //    Stuff.random.Next(DateTime.Today.Year - 1969 - 5, DateTime.Today.Year - 1969),
      //    Stuff.random.Next(0, 10) % 2 == 0 ? 10 : 6,
      //    Stuff.random.Next(0, 10) % 2 == 1 ? string.Empty : "WOW64; ");

// UserAgent must be defined by your app e.g.: GMap.NET.MapProviders.GMapProvider.UserAgent = "YourOwnUserAgentDefinition";
public static string UserAgent = "";

If someone wants to use these modified GMap.NET.Core.dll  and GMap.NET.WindowsForms.dll, please let me know.
All the 20 map providers of Justmapzz work with the new dll's, (except OSM), but I hope this exception will be eliminated soon.

Rodolfo 




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


Re: [OSM-dev] OSM tile server issue

2019-05-31 Thread Justmapzz Rodolfo
Title: Re: [OSM-dev] OSM tile server issue


Hi Grant,

I think that response from radioman is pretty awkward to put it politely.
The problem is, that imho gmap.net used to be a very good product, however, radioman stopped development over a year ago.
It is now maintained by  https://github.com/judero01col/GMap.NET

About the license keys:
> Should we implement it them? Are you willing to develop the supporting
> stack for us?
> Who will maintain it?
Of course, I am prepared to help! 
I think Osm is a great project and we try to promote its improvement and use as much as we can.
We even launched a simple app Osmate recently, aimed at the less technical users to teach them how they can improve the map, because the most heard complaint about OSM is routing errors, due to wrong map data.
I used to design SQL server databases, so maybe I can be useful for some aspects of the development of a license system.

>  > Heavy use (e.g. distributing an app that uses tiles from 
> openstreetmap.org) is
>  > forbidden without prior permission from the System Administrators.
> Do you have such permission?  

When we started the development of Justmapzz in 2013, we looked into the requirements of the service providers involved and I thought, we had addressed all requirements by registering api-keys, user-tokens and various kinds of licenses for all those providers (we maintain about 12 licenses now). 
In 2013, OpenStreetMap did not (to my best knowledge) require permission for the use of map tiles or we did not find any relevant information about it, so the short answer to your question is: no, we don't have permission. Of course we must get this right, so hereby I ask permission to use your tile servers for Justmapzz and Osmate.

Kind regards,
Rodolfo 




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