Tag Info

New answers tagged

3

According to this maths is fun page, or the wikipedia steridian article, you will discover that there are 12.56637 steradians in a sphere. So, if you take the area of the earth to be, 510,072,000 sq km, then, given your area of 8.101249039703731e-8, and plugging in these numbers, you get: 8.101249039703731e-8 / 12.56637 * 510,072,000 = 3.288 kmĀ². or in ...


1

Another option would be to use geojson.io Just upload your geojson file and add a column, and do your edits. Once you are satisfied with your edits, you can just download the resulting geojson file Good luck!


2

UPDATE: Your problem seems to be with your data. Here is a snippet of your file: }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 585951.8, 181704.9 ], [ 576293.9, 181299.8 ], If I'm not mistaken, those ...


4

As a starting point, you don't need to use geodjango for this! You could simply return unique_line_id, line_start_point_lat, line_start_point_lon, line_end_point_lat, line_end_point_lon as a json object and display these using Leaflet. You will need to structure the data to match the format required - here's an answer that explains how to load a polyline. ...


0

Background Dom's comment solved my issue so I wanted to provide it as an actual answer (in case someone else is following the d3 tutorial). Make sure tools are installed correctly To do this, type which ogr2ogr and which topojson on the console. It should return /usr/local/bin/ogr2ogr and /usr/local/bin/topojson. Move all the files over (yes all of ...



Top 50 recent answers are included