You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It looks like Kartograph assumes a certain POSTGIS table structure:
kartograph config.json -o map.svg
cli.py, in render_map()
71: K.generate(cfg, args.output, preview=args.preview, format=format, stylesheet=css) kartograph.py, in generate()
46: _map = Map(opts, self.layerCache, format=format) map.py, in __init__()
61: layer.get_features() maplayer.py, in get_features()
81: charset=layer.options['charset'] layersource/postgislayer.py, in get_features()
64: cur.execute('SELECT "%s" FROM %s WHERE %s' % ('", "'.join(fields), self.table, query))
column "way" does not exist
LINE 1: ...polyline WHERE (layer_id = 19) AND ST_Intersects( way, ST_Se...
I assume that Kartograph therefore assumes you are using map data from OpenStreetMap in POSTGIS? Is there anyway to use custom map data from POSTGIS? Thanks
The text was updated successfully, but these errors were encountered:
Oh, that's right, I only used this feature with OSM data. To support custom PostGIS we would need to specify which column contains the geo data? Or should we check the column type and use the first? What do you think?
It looks like Kartograph assumes a certain POSTGIS table structure:
I assume that Kartograph therefore assumes you are using map data from OpenStreetMap in POSTGIS? Is there anyway to use custom map data from POSTGIS? Thanks
The text was updated successfully, but these errors were encountered: