Giter Club home page Giter Club logo

Comments (4)

tmcw avatar tmcw commented on June 26, 2024

Hi,

Thanks for the issue! I can't replicate this problem: for example, here's your example run through togeojson - https://observablehq.com/d/1c3388b177640bb7

There are 3 features in, 3 out, with one having a null geometry. Seeing the same results running the example as a testcase. As far as I can tell, this has been the case for a while - if there are no geometries in a Placemark element, then it'll output a Feature in GeoJSON with a null geometry. Are you sure you're using a recent version of this code and that the items are actually being dropped? It doesn't seem like at least the @tmcw/togeojson package, with the .kml method, has that behavior.

from togeojson.

tmcw avatar tmcw commented on June 26, 2024

Ping @hyperknot - is there a testcase that demonstrates this limitation that you can share?

from togeojson.

hyperknot avatar hyperknot commented on June 26, 2024

@tmcw you are right, the example I thought would be a minimal repro case does produce the null geometry correctly.

I'm looking more into the Google My Maps export, it's still not clear to me how it works. (For example it creates a totally different CSV based on how the point was created. Also their CSV is super trivally broken, the commas are not escaped, for example).

from togeojson.

tmcw avatar tmcw commented on June 26, 2024

Okay - closing for now, feel free to open a new issue when this gets narrowed down into a reproducible testcase!

from togeojson.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.