Artem Pavlenko
Artem Pavlenko
@mapsam - Absolutely ^ , using boost::geometry::within is a good plan for now. Just be aware that `within` is used as an optimisation step for polygons in `closest_point`, so perhaps...
``` 2.2.12 MultiPolygon A MultiPolygon is a MultiSurface whose elements are Polygons.. The assertions for MultiPolygons are : 1. The interiors of 2 Polygons that are elements of a MultiPolygon...
the same applies to `MultiLineString`s ^ and in-fact this optimisation makes sense even for invalid geometries.
@springmeyer - ~~comparing to 0.0 is fine in this case because we're setting distance to 0.0 in the first place.~~ my bad, always use `boost::geometry::math::equal` for equality test of floating...
@StyXman - thanks for reporting. Preferred way to install `node-mapnik` - ``` npm install @mapnik/mapnik ``` The command above will install both * latest `@mapnik/[email protected]` * and platform specific `@mapnik/core-[platform]-[arch]@4.0.5`...
@shengy90 Default installation dir (aka PREFIX) is "/usr/local" which you (user you logged in as) don't have write permissions ``` scons: *** [/usr/local/lib/libmapnik-json.a] /usr/local/lib/libmapnik-json.a: Permission denied ``` You can change...
@Phyks @tstibbs I can replicate with some node versions on Ubuntu 24.04 LTS For example it works with current `node --lts` ``` nvm ls v18.20.3 v20.12.2 -> v20.15.0 v22.3.0 default...
@Phyks @tstibbs - `v4.6.0-rc1` should work with all node versions >= 18 https://github.com/mapnik/node-mapnik/pkgs/npm/mapnik
> @artemp, is it private tho? How can I get access? FYI, latest is `v4.6.0-rc2`. Follow GitHub docs for now to access etc https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry ``` var mapnik = require('@mapnik/mapnik'); ```
@tstibbs Closing as fixed