New answers tagged

4

If you inverse the coordinates, it does not work (geopy uses (latitude,longitude) in the WGS84 crs) dublin = (53.33306,-6.24889) liverpool = ( 53.41058,-2.97794) print distance(dublin, liverpool).km 217.863019038 print(vincenty(dublin, liverpool).kilometers) 217.863019038 print(great_circle(dublin, liverpool).kilometers) 217.211596704 GEOS (...


0

I think you can not specify two geo_fields the way you did in your example. The geo field there is a class property, you can not specify two with the same name. So the second one will override the first one (its a class property). The reason is that the geo-serializer will try to construct a geojson layer, which creates a list of features. This list will be ...



Top 50 recent answers are included