Comments (4)
try deleting the .prj file from the zipfile and try again it's actually an error in the library that transforms coordinates to lat lngs, but no transformation is needed here so that might fix it.
from shapefile-js.
That did it, thanks!
from shapefile-js.
from shapefile-js.
the bigger issue is that that shapefile has a zero length line in it, which is technically legal so I'll push something up that handles that better.
…
On Fri, Jul 8, 2022 at 9:53 AM jessegpierce @.> wrote: That did it, thanks! — Reply to this email directly, view it on GitHub <#182 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAITRH6SXCCGYBSA36JMTS3VTAXGLANCNFSM5263T33A . You are receiving this because you commented.Message ID: @.>
-- -Calvin W. Metcalf
Hello @calvinmetcalf, any update on this? In my use case, deleting the .prj is fixing the error, but anything is printed on leaflet (I am using the Leaflet plugin).
from shapefile-js.
Related Issues (20)
- Problem with instanceof check HOT 3
- It removes metadata as name and id from shapefile
- global is undefined HOT 1
- British National Grid prj - I don't know that shp type HOT 6
- Can't read the data of 'the loaded zip file
- after npm install, how to import shp API? HOT 1
- Still do not support Projected coordinate system? HOT 2
- Opening shp produces wrong coordinates for "EPSG:2039" - Israel 1993 / Israeli TM Grid
- UI Issue
- Can't parse shapefile zip
- Error: nodebuffer is not supported by this platform HOT 4
- Vulnerability with jszip before 3.8.0 HOT 1
- nodebuffer is not supported by this platform HOT 2
- Coordinates not converted to ESPG:4326
- Error using in Vue3 HOT 3
- TypeError: Right-hand side of 'instanceof' is not an object HOT 3
- big number double error
- RangeError: Trying to access beyond buffer length HOT 11
- Failed to construct 'TextDecoder': The encoding label provided ('UTF-8') is invalid. 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 shapefile-js.