Comments (9)
Hey, thanks for message! Sorry you're encountering that error. It sounds like some sort of memory limitation in JavaScript -- I've processed a file ~300mb with no problems, though, so maybe it's on an individual basis? I'd need to do some more experimentation.
Although it's not really a solution, in ba28320 I did add an alternate upload method that uses Google's internal KML endpoint as opposed to Google Takeout – the KML file is much smaller than the JSON from Takeout, so maybe it's worth giving that a shot... (just use the link on the homepage of the visualizer).
Hope this helps! Please let me know what you discover.
from location-history-visualizer.
Hmm, that doesn't work either it seems. Ending up with (error: Unexpected token <)
from location-history-visualizer.
Your browser may be using a cached version of the JavaScript... Try shift-reloading, perhaps? (The file index.js should match that in the master branch.)
from location-history-visualizer.
I get that last error when dragging the downloaded KML onto the site. Even after I tried to shift-reload the tool.
from location-history-visualizer.
Sounds like maybe GitHub Pages is doing some caching on its own... I just tried to initiate a cache purge. Maybe that will help.
Sorry for the difficulty getting this working! Can you verify that the index.js file you're being served contains the string "kml"?
from location-history-visualizer.
The reason I feel like you're getting a cached file is because the Unexpected token error is a JSON.parse error, not from the KML parser... Which means either you're getting an old version of the js or there's something wrong in the KML detection.
from location-history-visualizer.
Yep, index.js contains a method called getLocationDataFromKml().
from location-history-visualizer.
Really strange. You tried uploading again after you verified that the getLocationDataFromKml
method was present, and you still saw that error? Hmm...
from location-history-visualizer.
I did.
from location-history-visualizer.
Related Issues (20)
- (error: Invalid string length) HOT 1
- json empty file
- Time Card Feature HOT 1
- (error: allocation size overflow) HOT 1
- (error: Unexpected end of JSON input) HOT 11
- Allow to load compressed .json file
- (error: [object DOMError]) HOT 4
- Failed to create temp file 18 : It was determined that certain files are unsafe for access within a Web application, or that too many calls are being made on file resources. HOT 2
- Doesn't work HOT 11
- Histogram improperly weighed by frequency
- 0 data points imported from Google Maps location history HOT 1
- Apparent fail processing json file HOT 3
- wii
- Google updated the json file structure for location history HOT 11
- Map loading blank HOT 2
- Is it possible to download this and host it myself?
- Not Loading any Data Points HOT 1
- Hello, your work is great! HOT 2
- Show date HOT 4
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 location-history-visualizer.