Could not find the GEOS library (tried "geos_c", "libgeos_c-1"). Try setting GEOS_LIBRARY_PATH in your settings.
Could not find the GEOS library (tried "geos_c", "libgeos_c-1"). Try setting GEOS_LIBRARY_PATH in your settings.
INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.admin', 'django.contrib.gis', 'yandex_maps', )
[code python]
GEOS_LIBRARY_PATH='C:\Python27\DLLs\geos_c.dll'
[/code]
{% load yandex_maps_tags %} <html> <head> <title>main</title> </head> <body> {% yandex_map "Екатеринбург, Мира 32" 300 400 %} </body> </html>
>>> from yandex_maps import api
>>> api_key = 'AKszdVEBAAAAtXJhfgMAFdx7k8BDGYd2H9Cu6ItW9K6SLOUAAAAAAAAAAADAONqEa
fCD_NzBO5jFLxOX7UxxYw=='
>>> pos = api.geocode(api_key, u'Санкт-Петербург, Бумажная 4')
>>> pos
(None, None)
>>>