Skip to content

Instantly share code, notes, and snippets.

View patrickarlt's full-sized avatar

Patrick Arlt patrickarlt

View GitHub Profile
require([
"esri/map",
"esri/request",
"esri/geometry/Polyline",
"esri/symbols/SimpleLineSymbol",
"esri/graphic",
"dojo/domReady!"],
function(Map, request, Polyline, SimpleLineSymbol, Graphic) {
//Init Esri Basemap
ogr2ogr -f GeoJSON -t_srs EPSG:4326 -select comma,separated,fields destination.json source.shp