<div dir="ltr"><div><div><div>Hello,<br><br></div>I am using nodejs on localhost to serve dynamic geojson at urls such <a href="http://localhost:3000/711/points.geojson">http://localhost:3000/711/points.geojson</a><br><br></div>The way I am serving the geojson from the server is like this:<br></div><div>                <br>                var geojson = {"type":"FeatureCollection","features":[{"type":"Feature","geometry":{"type":"LineString","coordinates":[[-7576433,6176485],[-7307069,6261483]]}}],"crs":{"type":"link","properties":{"href":"<a href="http://spatialreference.org/ref/sr-org/6864/proj4/">http://spatialreference.org/ref/sr-org/6864/proj4/</a>","type":"proj4"}}}</div><div>                <br>                res.writeHead(200, {'Content-Type': 'application/json'});<br>                res.end(JSON.stringify(geojson));<br><br><br></div><div>However, I have Failure Unable to open datasource with drivers... when trying to convert the geojson to shapefile from the url.<br><br></div><div>ogr2ogr output.shp <a href="http://localhost:3000/711/points.geojson">http://localhost:3000/711/points.geojson</a><br><br></div><div>Can ogr2ogr convert dynamic geojson like I am trying to do, or it has to be a static geojson file?<br><br></div><div>Thank you!<br><br></div><div>Max Demars<br></div><div><div><div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div><div>Stack Overflow: <a href="http://stackoverflow.com/users/1914034/burton449" target="_blank">http://stackoverflow.com/users/1914034/burton449</a><br></div></div>GIS Overflow: <a href="http://gis.stackexchange.com/users/14426/burton449" target="_blank">http://gis.stackexchange.com/users/14426/burton449</a><br></div>LastFm: <a href="http://www.lastfm.fr/user/burton449" target="_blank">http://www.lastfm.fr/user/burton449</a><br></div></div>
</div></div></div></div></div></div>