Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preload 10m-populated-places-simple #1

Open
mguentner opened this issue Nov 23, 2014 · 0 comments
Open

Preload 10m-populated-places-simple #1

mguentner opened this issue Nov 23, 2014 · 0 comments
Assignees

Comments

@mguentner
Copy link
Owner

Currently the project.mml file produced by make.py contains the hardcoded url
to the 10m-populated-simple shapefile:

"Datasource": {
        "dbname": "gis", 
        "extent": "-20037508.34,-20037508.34,20037508.34,20037508.34", 
        "file": "http://mapbox-geodata.s3.amazonaws.com/natural-earth-1.4.0/cultural/10m-populated-places-simple.zip", 
        "host": "172.17.0.3", 
        "port": "5432", 
        "user": "osm"
      }, 
      "class": "", 
      "geometry": "point", 
      "id": "ne_places", 
      "name": "ne_places", 
      "srs": "", 
      "srs-name": "autodetect"
    }, 

which should be downloaded and extracted during the build of the Dockerfile.

The problem is that make.py does not allow to set ne_places in configure.py.
Therefore we can't preload the zip or use the shapefile produced by get_shapefiles.sh (openstreetmap-carto style).

Reference:
https://github.com/mapbox/osm-bright/blob/ca6c3795db9334cf21577aa934e11c531aff9d52/make.py#L43
" # Assume all other layers are PostGIS layers"

mguentner added a commit that referenced this issue Nov 23, 2014
The osm-carto style is now available at http://host/osm/0/0/0.png
while osm-bright is at http://host/osmb/0/0/0.png

node-millstone is a new dependecy for osm-bright

Currently node-millstone downloads the 10m-populated-places-simple
shapefile which should be done in the Dockerfile (see issue #1).

Signed-off-by: Maximilian Güntner <maximilian.guentner@gmail.com>
@mguentner mguentner self-assigned this Nov 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant