gavinr / arcgis-json-to-geojson Goto Github PK
View Code? Open in Web Editor NEWArcGIS JSON to GeoJSON
Home Page: https://arcgisjson.togeojson.com/
License: MIT License
ArcGIS JSON to GeoJSON
Home Page: https://arcgisjson.togeojson.com/
License: MIT License
Use https://github.com/Esri/arcgis-to-geojson-utils instead of terraformer.
If we visualize the GeoJSON via in-page map, we would not have to post to Gist (#8) (a security risk for private data)
node-sass
to sass
packageBring back the bookmarklet to easily convert a page of Esri JSON to GeoJSON.
arcgis-to-geojson-utils
does not error per se if there is non-wgs84 coordiantes, Esri/arcgis-to-geojson-utils#21 (comment) but if you send in non-wgs84 features in, the map will not look right in this site. Maybe best to give a warning in these cases?
We have to have a fully-qualified url. It would be nice to have this dynamically inserted into the page by node, but I'm not sure the cleanest way to do this since we're using Restify's serveStatic functionality.
if input is not in 4326, can we reproject on the fly?
Hey there - I downloaded some geo data and was told it was ArcGIS JSON:
{'displayFieldName': 'NAME',
'fieldAliases': {},
'geometryType': 'esriGeometryPolygon',
'spatialReference': {'wkid': 102100, 'latestWkid': 3857},
'fields': [],
'features': [{'attributes': {'OBJECTID': 2050,
'PRECINCTID': '01029B',
'NAME': 'COLUMBUS 29-B',
'COUNTY': None,
'ESS_PRECINCT_NO': None,
'ESS_PRECINCT': None,
'CITY_OR_VILLAGE': None,
'SCHOOL_DISTRICT': None,
'TOWNSHIP': None,
'HOUSE_DISTRICT': None,
'SENATE_DISTRICT': None,
'CONGRESS_DISTRICT': None,
'POLICE_DISTRICT': None,
'ROAD_DISTRICT': None,
'FIRE_DISTRICT': None,
'PARK_DISTRICT': None,
'COURT_APPEALS_NAME': None,
'BOARD_OF_ED_NAME': None,
'LIBRARY': None,
'EDUCATIONAL_SERVICE_CENTERS': None,
'CAREER_CENTERS': None,
'WINNINGPARTY': None,
'TOTALBALLOTS': None,
'SHAPE_Length': 26636.15475759097,
'SHAPE_Area': 30443700.474467456,
'POLLINGID': None,
'POLLINGLOCATION': None,
'LID': 'N/A',
'Symbol': 'A'},
'geometry': {'rings': [[[-9235687, 4854329],
[-9235918, 4851467],
[-9239010, 4854564],
[-9235687, 4854329]]]}},
]}
but I get "invalid input" when i enter this in the web console.
Is there something specific i can change to convert it to geojson? Thanks!
Possibly include "example" ArcGIS JSON in the box onload.
Also need to explain how to use the bookmarklet somehow.
It looks like the gitHub API does not allow creating gists without logging in to github anymore :(
https://developer.github.com/v3/gists/#authentication
https://developer.github.com/v3/gists/#create-a-gist
Will use this issue to remove and re-create this feature in the future (maybe)
Dear Gavin,
what's non-standard with the ArcGIS JSON at https://www.arcgis.com/sharing/rest/content/items/2444834968bf4cf99844c63ca6e3dcfa/data?f=geojson
I'm just very curious.
remove current and replace with relevant favicon
Incorporate a better look and feel - maybe use bootstrap?
ability to copy the geojson to clipboard in single click
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.