<s> '''<STR_LIT>''' <EOL> try : <EOL> import ogr <EOL> except ImportError : <EOL> from osgeo import ogr <EOL> latitudes = [ <NUM_LIT:30> , <NUM_LIT:30> , <NUM_LIT> ] <EOL> longitudes = [ <NUM_LIT:10> , <NUM_LIT:20> , <NUM_LIT:30> ] <EOL> line = ogr . Geometry ( ogr . wkbLineString ) <EOL> line . AddPoint ( latitudes [ <NUM_LIT:0> ] , longitudes [ <NUM_LIT:0> ] ) <EOL> line . AddPoint ( latitudes [ <NUM_LIT:1> ] , longitudes [ <NUM_LIT:1> ] ) <EOL> line . AddPoint ( latitudes [ <NUM_LIT:2> ] , longitudes [ <NUM_LIT:2> ] ) <EOL> geojson_line = line . ExportToJson ( ) <EOL> print geojson_line </s>
