Giter Club home page Giter Club logo

esri2open's People

Contributors

calvinmetcalf avatar feomike avatar moutons avatar scw avatar seansweeney avatar sgillies avatar shilor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esri2open's Issues

It would be great to be able to specify the id field for GeoJSON

Currently, the OID field of a feature class is used when converting the feature class to a GeoJSON. However, most often this unique ID doesn't have any meaning and it would be great to choose the field that will become the id for features in GeoJSON. When doing plotting and map bindings with such Python libraries as folium and vincent, having a meaningful id is required.

I solve this for my needs by editing the line
https://github.com/project-open-data/esri2open/blob/master/Install/esri2open/parseRow.py#L16
with the field name I want to have as id in the output GeoJSON.

replaced
self.oid=getOID(self.fields)

with
self.oid='FIELD_NAME'

license

It might be worth discussing a more-permissive license the main issue is:

Do we want people writing proprietary software to be able to take this code, use it to implement export to GeoJSON and sell it with proprietary license?

I'd say yes, this would be a good thing, we'd want it as widely used as possible meaning a MIT license or a BSD Three clause might be a better fit.

Support the simplestyle spec

GitHub and Mapbox make it easier to symbolize "pin drop" maps using GeoJSON with the simplestyle spec of additional feature properties.

Would this be a feature to include in this project? If so, I'd be happy to start working on it. I'm not sure what is the best way to implement it in a ArcGIS tool but would give it a shot.

Thanks!

Options

Hi.
Is there any way to add the topojson option "-p" (-- properties) from the toolbox?
Thanks

Converts DateTime to Date only

An ESRI Feature class defines a "Date" Field as a DateTime field. When converting a datetime to geojson, this tool only outputs the "Date" portion of the field.

10.3 Cannot add layer directly from a map

It worked in 10.2, but in ArcMap 10.3, I cannot add layers directly from the map. This means I have to export all my layers first - as I often use definition queries and turn fields off - then convert the exported files. Any ideas? It seems like it would be something simple.

One or more of the dropped items were invalid and will not be added to the control.

Mongo

Anyone interested in writing an output which would be a mongoDB dump or similar? this might be a useful (and slightly challenging) task. right now mongoDB doesn't support multi features (on simple point, line and polygons) so the code would need to write out (perhaps) duplicate rows for multi features with new ids. also, for inserting into mongo, a single geojson file won't actually work, but a geojson file per feature kind of thing (not exactly sure, but something like that).

anyone interested in taking a crack at it?

more coordinates

at the moment it assumes there is only an x and y, getting a z or m should't be a problem really.

CSV/JSON library

Would it be easier to use python's built in CSV and JSON libraries?

I made a similar library and managed to save a lot of logic by doing that.

This is half an issue and half me trying to figure out if paranoid I missed some downside of using the json library.

Projection and Datum

Would be nice to write the projection and datum to the GeoJSON file (EPSG code would be sufficient)

Tooblbox doesn't capture error messages

[Arcmap 10.1] When using the scripts from the toolbox messages from the tools (well I'm assuming it's all of them) are not passed back up to Arcmap. For example here is the message from the "ESRI to Open" tool, which runs "successfully" but creates no output:

Executing: esri2open T:\ENV.301\Bear_Incidents.gdb\Summer_2013 T:\ENV.301\dev-2013\geojson\bear_incidents_2013-Jun-14.geojson Default
Start Time: Thu Jun 27 10:22:30 2013
Running script esri2open...
Completed script esri2open...
Succeeded at Thu Jun 27 10:22:31 2013 (Elapsed Time: 1.00 seconds)

However running the script directly from a python enabled command prompt shows it failed to understand the input feature class:

D:\GitHub\esri2open>single.py t:\ENV.301\Bear_Incidents.gdb\Summer_2013 t:\env.301\dev-2013\geojson\test.geoson

I don't understand the format

no module named esri2open

do I have to install anything? All I did was download and unzip the package, but I saw a folder called Install and then I got this error.

sorry if i'm missing something really obvious; new to github

image

IDLE has also been saying that there's no module named arcpy?

Toolbox has a hard code path in it.

the toolbox (.tbx) was initially committed with a hard code path in it, so it doesn't connect w/ the python script on push. i need to fix this. and re push the .tbx file.

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.