-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #420 from OpenHistoricalMap/imposm3
Disable indexing the tables in imposm process
- Loading branch information
Showing
3 changed files
with
167 additions
and
4 deletions.
There are no files selected for viewing
164 changes: 164 additions & 0 deletions
164
images/tiler-imposm/config/layers/relation_members_routes.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,164 @@ | ||
{ | ||
"tags": { | ||
"load_all": true, | ||
"exclude": [ | ||
"created_by", | ||
"source", | ||
"source:datetime" | ||
] | ||
}, | ||
"generalized_tables": { | ||
"route_lines_z5_7": { | ||
"source": "relation_members_routes", | ||
"sql_filter": "type IS NOT NULL AND route IS NOT NULL", | ||
"tolerance": 500 | ||
}, | ||
"route_lines_z8_9": { | ||
"source": "relation_members_routes", | ||
"sql_filter": "type IS NOT NULL AND route IS NOT NULL", | ||
"tolerance": 200 | ||
}, | ||
"route_lines_z10_12": { | ||
"source": "relation_members_routes", | ||
"sql_filter": "type IS NOT NULL AND route IS NOT NULL", | ||
"tolerance": 100 | ||
}, | ||
"route_lines_z12_20": { | ||
"source": "relation_members_routes", | ||
"sql_filter": "type IS NOT NULL AND route IS NOT NULL" | ||
} | ||
}, | ||
"tables": { | ||
"relation_members_routes": { | ||
"type": "relation_member", | ||
"fields": [ | ||
{ | ||
"type": "id", | ||
"name": "osm_id", | ||
"key": null | ||
}, | ||
{ | ||
"type": "string", | ||
"name": "name", | ||
"key": "name" | ||
}, | ||
{ | ||
"type": "mapping_value", | ||
"name": "type", | ||
"key": null | ||
}, | ||
{ | ||
"type": "integer", | ||
"name": "admin_level", | ||
"key": "admin_level" | ||
}, | ||
{ | ||
"key": "route", | ||
"name": "route", | ||
"type": "string" | ||
}, | ||
{ | ||
"key": "ref", | ||
"name": "ref", | ||
"type": "string" | ||
}, | ||
{ | ||
"key": "network", | ||
"name": "network", | ||
"type": "string" | ||
}, | ||
{ | ||
"key": "direction", | ||
"name": "direction", | ||
"type": "string" | ||
}, | ||
{ | ||
"key": "operator", | ||
"name": "operator", | ||
"type": "string" | ||
}, | ||
{ | ||
"key": "state", | ||
"name": "state", | ||
"type": "string" | ||
}, | ||
{ | ||
"key": "symbol", | ||
"name": "symbol", | ||
"type": "string" | ||
}, | ||
{ | ||
"key": "distance", | ||
"name": "distance", | ||
"type": "string" | ||
}, | ||
{ | ||
"key": "roundtrip", | ||
"name": "roundtrip", | ||
"type": "string" | ||
}, | ||
{ | ||
"key": "interval", | ||
"name": "interval", | ||
"type": "string" | ||
}, | ||
{ | ||
"key": "duration", | ||
"name": "duration", | ||
"type": "string" | ||
}, | ||
{ | ||
"key": "tourism", | ||
"name": "tourism", | ||
"type": "string" | ||
}, | ||
{ | ||
"key": "start_date", | ||
"name": "start_date", | ||
"type": "string" | ||
}, | ||
{ | ||
"key": "end_date", | ||
"name": "end_date", | ||
"type": "string" | ||
}, | ||
{ | ||
"type": "hstore_tags", | ||
"name": "tags", | ||
"key": null | ||
}, | ||
{ | ||
"name": "geometry", | ||
"type": "geometry", | ||
"key": null | ||
}, | ||
{ | ||
"name": "member", | ||
"type": "member_id" | ||
}, | ||
{ | ||
"name": "me_maritime", | ||
"type": "string", | ||
"key": "maritime", | ||
"from_member": true | ||
}, | ||
{ | ||
"type": "hstore_tags", | ||
"name": "me_tags", | ||
"from_member": true | ||
}, | ||
{ | ||
"name": "me_name", | ||
"key": "name", | ||
"type": "string", | ||
"from_member": true | ||
} | ||
], | ||
"mapping": { | ||
"route": [ | ||
"__any__" | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters