forked from vv01f/ccc-map
no id as entry name
This commit is contained in:
parent
faaa86a910
commit
8fd1b9e246
|
@ -52,8 +52,8 @@ with open( fn, 'r' ) as fp:
|
||||||
if location is not None: # its a class
|
if location is not None: # its a class
|
||||||
# todo: ceil coords to hide true location in format string
|
# todo: ceil coords to hide true location in format string
|
||||||
# ~ strCoordPlace = '{:s},{:.6f},{:.6f}'.format( arrAddress[3], location.latitude, location.longitude )
|
# ~ strCoordPlace = '{:s},{:.6f},{:.6f}'.format( arrAddress[3], location.latitude, location.longitude )
|
||||||
geojson = '{{"type":"Feature","geometry":{{"type":"Point","coordinates":[{:.'+str(precision)+'f},{:.'+str(precision)+'f}]}},"properties":{{"name":"{:s}","title":"{:s}","marker":"{:s}"}}}}';
|
geojson = '{{"type":"Feature","geometry":{{"type":"Point","coordinates":[{:.'+str(precision)+'f},{:.'+str(precision)+'f}]}},"properties":{{"name":"anonentry","title":"{:s}","marker":"{:s}"}}}}';
|
||||||
strCoordPlace = geojson.format( location.longitude, location.latitude, arrAddress[1], arrAddress[1], fn.split("-")[0] )
|
strCoordPlace = geojson.format( location.longitude, location.latitude, arrAddress[4], fn.split("-")[0] )
|
||||||
if firstline == False :
|
if firstline == False :
|
||||||
print (",")
|
print (",")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user