Comments (8)
Came here to mention this as well. If the geojson spec allows you to define the projection, geojsonlint should try to project it. Would be very useful for people who don't use 4326 as those people would need to convert their data to 4326 before testing on geojsonlint.
from geojsonlint.com.
+1
from geojsonlint.com.
With the reproject module we could do some data massaging to convert all GeoJSON geometries to WGS84 before sending to Leaflet as it expects all geometries to be in this projection.
from geojsonlint.com.
Encountered this same issue as I received an EPSG:27562 crs file and tried to lint/preview it.
Ended up using reproject
for a quick fix, which uses proj4js
behind the scenes,
from geojsonlint.com.
I also tried to use reproject, it is quite ugly but it works:
https://github.com/jtojnar/geojsonlint.com/tree/reproject
from geojsonlint.com.
FYI: The new IETF GeoJSON standard doesn't allow custom CRS to be used anymore.
from geojsonlint.com.
Then change the title in "Add support for Foreign Member 'crs'"
However, where all
involved parties have a prior arrangement, alternative coordinate
reference systems can be used without risk of data being
misinterpreted.
from geojsonlint.com.
@tyrasd Good thinking!
from geojsonlint.com.
Related Issues (20)
- Don't run django in debug mode
- Display a nice error when 500 received from server
- Use celery for event tracking, maybe. HOT 1
- Validate Arrays of objects HOT 2
- Typo in error message
- Doesn't handle when geometry is invalid HOT 4
- Invalid Polygons HOT 1
- Missing Type HOT 1
- doesn't handle position "extensions" per spec HOT 3
- Feature request: Inserting envelope into displayed GeoJSON HOT 1
- Link to GeoJSON spec link needs an update HOT 1
- Enforcement of Polygon Right-Hand Rule HOT 3
- Put a link on geojsonlint.com pointing back here, or at least some contact info HOT 1
- Document how to validate GeoJson via the command line HOT 1
- geojsonlint.com domain has expired HOT 1
- https://geojsonlint.com/ - OpenStreetMap data is used for map but attribution is missing HOT 4
- Invalid LatLng object: Error: (NaN, NaN) HOT 1
- SchemaError: Properties definition of field 'coordinates' is not a list or an object HOT 1
- Validation: not checking geometry type? HOT 2
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 geojsonlint.com.