Giter Club home page Giter Club logo

Comments (3)

gena avatar gena commented on September 25, 2024

It was a while when I last time used it, I've switched to native EE upload (shapefiles) because FT is too buggy.

The error probably occurs because KML has multiple layers, currently, ogr2ft.py works only for flat feature collections (single layer with multiple features). I will check if I can fix it, but it might be better to just do ogr2oger and upload shp

from ogr2ft.

matthiasdemuzere avatar matthiasdemuzere commented on September 25, 2024

I am not familiar with ogr2ogr. Do you refer to this package: https://github.com/wavded/ogr2ogr?

I have a whole lot of .kml files, which I would like to use in EE. As such I was looking for a way to automise the upload. That's why I tried ogr2ft.

Yet in your opinion ogr2ogr is preferable? Does it also work with .kml files? Would you have an example somewhere on how to do this?

Thanks!

from ogr2ft.

gena avatar gena commented on September 25, 2024

I mean GDAL, http://www.gdal.org/, you can install it on ubuntu via packages, e.g. http://www.sarasafavi.com/installing-gdalogr-on-ubuntu.html, ogr2ogr is a tool to convert between different GIS formats ... actually, this does not seem to work with your KML file, it's just too complicated (will probably work only with Google Earth). It is probably better to export this file to SHP via QGIS (merge all features into a single file), it seems to be able to open it. You can merge all features into a single homogeneous SHP file and upload it directly into EE.

image

from ogr2ft.

Related Issues (1)

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.