Comments (5)
Hi @harpogophytum,
Getting the geometries right can be hard.
Can you paste WKT text/polygon you are trying to use here?
Also check the web portal simplifier:
https://www.gbif.org/occurrence/search?has_coordinate=true&has_geospatial_issue=false&geometry=POLYGON((-75.5248%2039.73138,-75.52235%2039.73557,-75.52361%2039.73964,-75.53319%2039.74288,-75.53734%2039.7515,-75.54663%2039.75502,-75.55017%2039.7491,-75.54401%2039.74711,-75.54096%2039.73908,-75.5464%2039.73687,-75.55252%2039.73926,-75.5592%2039.73888,-75.57831%2039.72183,-75.59402%2039.72296,-75.60006%2039.71878,-75.59546%2039.7136,-75.59784%2039.7121,-75.60225%2039.71422,-75.60887%2039.71379,-75.60744%2039.70776,-75.60141%2039.69606,-75.59233%2039.69635,-75.58434%2039.6986,-75.5809%2039.70055,-75.57806%2039.71355,-75.55916%2039.71543,-75.55721%2039.71803,-75.55067%2039.72014,-75.55233%2039.72503,-75.54357%2039.72625,-75.53506%2039.7178,-75.53245%2039.71679,-75.53091%2039.71841,-75.51064%2039.71203,-75.50621%2039.72049,-75.52604%2039.72532,-75.5282%2039.72926,-75.5248%2039.73138))&occurrence_status=present
from rgbif.
There's an example using the ogr2ogr tool for simplification here:
But otherwise I'd look at something like https://rgeos.r-forge.r-project.org/reference/topo-unary-gSimplify.html
from rgbif.
from rgbif.
The polygon appears to be mostly in a line.
Is this really what you want?
Can you send a screen shot of how it looks in Arc GIS ?
I guess that it isn't projected in WGS84.
from rgbif.
Note each pair of coordinates is also swapped. WKT must be POLYGON((longitude1 latitude1, longitude2 latitude2, ..., longitude1, latitude1))
but -106 is less than the minimum latitude of -90°.
from rgbif.
Related Issues (20)
- Feature request: add gbifID as predicate to occ_download() HOT 2
- rgbif should probably show docs of CRAN released versions on dev versions HOT 1
- name_usage(key, data = "iucnRedListCategory") returns Error for some keys instead of an empty tibble HOT 1
- xxxKey predicates HOT 3
- consider option to ignore key lookup in occ_download() HOT 4
- Geometry error message improvement HOT 1
- fix images in map_fetch article HOT 1
- add new rgbif logo HOT 2
- map_fetch should get http2
- Retrieving a species list from a taxon for a specific country. HOT 2
- support for installation search HOT 1
- [suggestion]enable offline workflows HOT 1
- Is it intended that occ_count() can not take multiple facet arguments like occ_search can? HOT 1
- Suggestion to output tsv with scientificName match for taxonkey query HOT 1
- isocodes spelling HOT 3
- Retrieve dataset information from DOI HOT 1
- Review and refresh static data files
- occ_search multiple facets returns too many facets
- Consider deprecating dataset_suggest() HOT 1
- add suport for lit_export()
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 rgbif.