geocoder-php / Geocoder

The most featured Geocoder library written in PHP.
https://geocoder-php.org
MIT License
3.94k stars 515 forks source link

Add 2GIS Provider #935

Closed vassilaros closed 4 years ago

vassilaros commented 5 years ago

Is it impossible to add 2GIS provider? (https://2gis.com.cy)

jbelien commented 5 years ago

Hello @vassilaros ,

It is of course possible ... as long as their API is accessible ! Could you provide us some links to the API documentation ?

vassilaros commented 5 years ago

I found these websites which are in Russian and I do not understand (one is in English). But it has information about their API. http://api.2gis.ae/ https://github.com/2gis/mapsapi https://habr.com/ru/company/2gis/blog/229097/ https://www.npmjs.com/package/2gis-api

and Api documentation

http://api.2gis.ru/doc/maps/en/quickstart/ I have no more information about api!

jbelien commented 5 years ago

Thanks @vassilaros ! I had a look at the links you posted. I see documentation about their JavaScript library to "display a map" but no documentation about the REST/SOAP/? API for geocoding !

vassilaros commented 5 years ago

Maybe this helps? http://tile1.maps.2gis.com/tiles?x={x}&y={y}&z={z}

jbelien commented 5 years ago

Maybe this helps? http://tile1.maps.2gis.com/tiles?x={x}&y={y}&z={z}

No, sorry, that's the tiles : the image of the map.


I made some research, the "geocoding" API seems to be https://catalog.api.2gis.ru/. Found (at least) those 2 functions:

Maybe you could try to contact them ?

atymic commented 5 years ago

@vassilaros Did you manage to get any more information? Maybe this would be better as a community provider rather than an official one

atymic commented 4 years ago

I'm going to close this due to inactivity. Feel free to ping one of us and we'll reopen.