[MapProxy] Get errors when start seeding on 1.8.0
TDS
tds at tds-net.de
Tue Aug 4 04:27:31 PDT 2015
Hello,
you see the trace and you got only 1 error:
/ImportError: could not find osgeo.ogr package or libgdal/
So install the OGR package for Windows and maybe also the libgbdal package.
https://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries
Bye, Mathias
------------------------------------------------------------------------
mailto:tds at tds-net.de
------------------------------------------------------------------------
1+1=10
You have a question? - 42 or RTFM.
Am 04.08.2015 um 13:24 schrieb Andrey Maraev:
> Hello there!
> I'm really like this product and now want to get help with my issue.
> I've configured Mapproxy 1.8.0 (Windows) for seeding. So, I've started
> the process via /mapproxy-seed.exe -s mapproxy\seed_holland.yml -f
> mapproxy\forseed.yaml --progress-file=mapproxy\progresfile/. When I
> configure the coverages via bbox like
> /bbox: [5.16, 52.16, 7.2, 53.58]/
> / bbox_srs: "EPSG:4326/"
> it seems to work. But If I try to use bellow scheme for seed file:
> /holland_shp:/
> / ogr_datasource: 'shp/world_boundaries_m.shp'/
> / ogr_where: 'CNTRY_NAME = "Netherlands"'/
> / ogr_srs: 'EPSG:900913'/
> I get many errors like:
> C:\Python27\Scripts>mapproxy-seed.exe -s mapproxy\seed_holland.yml -f
> /mapproxy\forseed.yaml --progress-file=mapproxy\progresfile/
> /Traceback (most recent call last):/
> / File "C:\Python27\Scripts\mapproxy-seed-script.py", line 9, in
> <module>/
> / load_entry_point('mapproxy==1.8.0', 'console_scripts',
> 'mapproxy-seed')()/
> / File
> "C:\Python27\lib\site-packages\mapproxy-1.8.0-py2.7.egg\mapproxy\seed\script.py",
> line 248, in main/
> / return SeedScript()()/
> / File
> "C:\Python27\lib\site-packages\mapproxy-1.8.0-py2.7.egg\mapproxy\seed\script.py",
> line 140, in __call__/
> / seed_tasks = seed_conf.seeds(seed_names)/
> / File
> "C:\Python27\lib\site-packages\mapproxy-1.8.0-py2.7.egg\mapproxy\seed\config.py",
> line 197, in seeds/
> / seed_conf = SeedConfiguration(seed_name, seed_conf, self)/
> / File
> "C:\Python27\lib\site-packages\mapproxy-1.8.0-py2.7.egg\mapproxy\seed\config.py",
> line 278, in __init__/
> / ConfigurationBase.__init__(self, name, conf, seeding_conf)/
> / File
> "C:\Python27\lib\site-packages\mapproxy-1.8.0-py2.7.egg\mapproxy\seed\config.py",
> line 224, in __init__/
> / self.coverage = self._coverages()/
> / File
> "C:\Python27\lib\site-packages\mapproxy-1.8.0-py2.7.egg\mapproxy\seed\config.py",
> line 233, in _coverages/
> / coverages = [self.seeding_conf.coverage(c) for c in
> self.conf.get('coverages', {})]/
> / File
> "C:\Python27\lib\site-packages\mapproxy-1.8.0-py2.7.egg\mapproxy\util\py.py",
> line 78, in wrapper/
> / cache[args] = func(self, *args)/
> / File
> "C:\Python27\lib\site-packages\mapproxy-1.8.0-py2.7.egg\mapproxy\seed\config.py",
> line 152, in coverage/
> / coverage = load_coverage(coverage_conf)/
> / File
> "C:\Python27\lib\site-packages\mapproxy-1.8.0-py2.7.egg\mapproxy\config\coverage.py",
> line 42, in load_coverage/
> / geom = load_ogr_datasource(datasource, where)/
> / File
> "C:\Python27\lib\site-packages\mapproxy-1.8.0-py2.7.egg\mapproxy\util\geom.py",
> line 74, in load_ogr_datasource/
> / from mapproxy.util.ogr import OGRShapeReader, OGRShapeReaderError/
> / File
> "C:\Python27\lib\site-packages\mapproxy-1.8.0-py2.7.egg\mapproxy\util\ogr.py",
> line 218, in <module>/
> / raise ImportError('could not find osgeo.ogr package or libgdal')/
> /ImportError: could not find osgeo.ogr package or libgdal/
> I suspect something's going wrong with ogr module but confused where
> it placed.
> Could you please help me with this issue?
>
> --
> Best Regards!
> Andrey Maraev
>
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapproxy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150804/377370e2/attachment.html>
More information about the MapProxy
mailing list