hotosm / HDM-CartoCSS

CartoCSS project focused on the Humanitarian Data Model
Other
136 stars 41 forks source link

hardcoded ybon user #240

Closed matkoniecz closed 9 years ago

matkoniecz commented 10 years ago

I modified cartocc.json (no trace of user ybon enywhere)

[
    {
        "if": {
            "Datasource.type": "postgis"
        },
        "then": {
            "Datasource.dbname": "gis",
            "Datasource.password": "",
            "Datasource.user": "osm",
            "Datasource.host": ""
        }
    },
    {
        "if": {
            "id": "hillshade"
        },
        "then": {
            "Datasource.file": "/home/osm/Documents/hot/haiti-hillshade-80-3785.tif"
        }
    },
    {
        "if": {
            "id": "land-high"
        },
        "then": {
            "Datasource.file": "/home/osm/Documents/hot/haiti_contour_25m.shp"
        }
    }
]

Despite this generated project.mml have in line 186

    "file": "/home/ybon/OSM/SRTM/haiti_contour_25m.shp"
yohanboniface commented 10 years ago

You need to target contour_line instead of land-high it seems.

matkoniecz commented 10 years ago

This change to proposed cartocc.json fixed problem, I made a pull request