-
Notifications
You must be signed in to change notification settings - Fork 165
Description
I need this feature: mapnik/mapnik#180 but didn't see any documentation on how to use it, and where/if its exposed in node-mapnik at all.
I have two geometries that represent each direction of a road. I need to pick one direction to be one offset and the other offset in the opposite direction (Which offset it gets I hope I can specify with mapnik xml using an attribute of the geometry). Not only that but to aide in visuals I would like the offsets to be dynamically changing with zoom level.
That is, when zoomed in the offset is much closer. When zoomed out the offset is much further away. We currently have this feature with ArcGIS Server so we know its a useful thing, just not sure if Mapnik, or specifically node-mapnik has something that can support this?
Work arounds is using our SQL Server to do the offset of the geometries one time and resave the WKB with the new offsets and then just deal with not having different offsets for different zooms. Sadly SQL Server doesnt have a function that makes offsetting lines easy, unlike PostGIS which has ST_OffsetCurve