Comments (2)
the library provides support converting back and forth between GeoJSON geometry objects and WKT geometries. as such, convert()
expects either a Point
, LineString
, Polygon
MultiPoint
, MultiLineString
or MultiPolygon
to be passed. (relevant source)
this means it's up to you to loop through the features in your own FeatureCollection
to extract the geometries of interest and convert them. if you need additional assistance, i'm happy to chat further.
from terraformer-wkt-parser.
ah, OK, makes sense. will just go ahead and parse myself (hadn't realized how simple WKT GEOMETRYCOLLECTION(...)
was.
Thanks for the clarification.
from terraformer-wkt-parser.
Related Issues (19)
- setup Travis
- BROKEN v1.1.0 !!! HOT 2
- Counter clockwise polygons HOT 8
- Cannot parse GEOMETRYCOLLECTION HOT 2
- automate release process
- Error: Cannot find module with sequelize in 1.1.1 HOT 8
- get tests passing in node v7 HOT 1
- Geometry Collection support not released HOT 3
- TerraFormer.io HOT 1
- Support for parsing WKT GeometryCollections HOT 1
- terraformer-wkt-parser.d.ts references to GeoJSON HOT 8
- Update npm package HOT 1
- Conflicting @types/geojson dependency with terraformer HOT 3
- The documentation portal is down ? HOT 1
- Wrong npm package mentioned in docs HOT 1
- unable to parse scientific notation numbers (i.e 1.234E-4) HOT 4
- Update to latest terraformer HOT 2
- Informative parse errors HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraformer-wkt-parser.