[MapProxy] Get errors when start seeding on 1.8.0

Andrey Maraev asmaraev at gmail.com
Tue Aug 4 04:24:40 PDT 2015

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:
*    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
*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',
*  File
line 248, in main*
*    return SeedScript()()*
*  File
line 140, in __call__*
*    seed_tasks = seed_conf.seeds(seed_names)*
*  File
line 197, in seeds*
*    seed_conf = SeedConfiguration(seed_name, seed_conf, self)*
*  File
line 278, in __init__*
*    ConfigurationBase.__init__(self, name, conf, seeding_conf)*
*  File
line 224, in __init__*
*    self.coverage = self._coverages()*
*  File
line 233, in _coverages*
*    coverages = [self.seeding_conf.coverage(c) for c in
self.conf.get('coverages', {})]*
*  File
line 78, in wrapper*
*    cache[args] = func(self, *args)*
*  File
line 152, in coverage*
*    coverage = load_coverage(coverage_conf)*
*  File
line 42, in load_coverage*
*    geom = load_ogr_datasource(datasource, where)*
*  File
line 74, in load_ogr_datasource*
*    from mapproxy.util.ogr import OGRShapeReader, OGRShapeReaderError*
*  File
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
Could you please help me with this issue?

Best Regards!
Andrey Maraev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20150804/78685599/attachment.html>

More information about the MapProxy mailing list