Hi,
I was playing with the new OSM driver and tried to transfer some
POI features into my GPS. It goes well by using GPX format in
between. However, I have a little problem. My GPS supports multiline
descriptions but I do not know how to insert newlines into the
output of ogr2ogr. The
Jukka,
You can try to pass the newline character directly from the command line.
With bash, you can use $'\n'. In your case it will be like this:
ogr2ogr -f gpx test.gpx finland.osm.pbf
-sql select name,CONCAT(addr_street,$'\n',addr_housenumber)
as 'desc' from points where amenity='toilets'
On
Hi,
Sorry, I forgot to tell that I am on Windows. “$’\n’” looks so gurutic that I
feel jealous. I hope I will never need to teach anybody to use it at work,
though ☺
-Jukka-
Chaitanya kumar wrote:
Jukka,
You can try to pass the newline character directly from the command line. With
bash,
Jukka,
This should work:
ogr2ogr -f gpx test.gpx finland.osm.pbf -sql ^
*More? *select name,CONCAT(addr_street,'^
*More? *
*More? *',addr_housenumber) as 'desc' from points where amenity='toilets'
Note that the More? part is given by DOS. By giving ^ at the end of line
you are saying that
Dear GDAL'ers,
I have currently some issues with reprojecting global datasets in
geographic coordinates to the Mollweide projection (GDAL 1.8.0). When using
gdalwarp like:
gdalwarp -s_srs 'EPSG:4326' -t_srs '+proj=moll +lon_0=0 +x_0=0 +y_0=0
+ellps=WGS84 +datum=WGS84 +units=m +no_defs'
Hi,
Great, it does work. I was reading an entertaining page
http://stackoverflow.com/questions/245395/hidden-features-of-windows-batch-files
and because of http://stackoverflow.com/a/254169 I was just experimenting with ^
I wonder if OGR SQL could have one more special field for newline for
Even,
the purpose was simply to call the utility from within a Java servlet to
retrieve the WKT translation of GML definitions at runtime.
In my case this would be then necessary until GeoTools will not be able to
decode GML definitions, but it unluckily seems that it neither can [1].
As Etienne
Casper,
This message should not appear unless there is a difference in the band
data type, colour interpretation or the band order.
Can you check if manually adding the old file works?
On Mon, Jul 30, 2012 at 11:01 PM, Casper Børgesen (CABO) c...@niras.dkwrote:
Hi!
** **
I’m trying
What do you mean by manually? I run gdalbuildvrt using the command line, so I
don’t understand how it can be done more manually ☺
gdalbuildvrt myfile.vrt file1.tif file2.tif file3.tif file4.tif
I have tried using an old version of gdalinfo (1.7.0) and it gives tells me
that my first 3 bands in
Casper,
You can edit the vrt file in a text editor. Just make a copy of the
elements of one file and change them according to the fourth file. You can
refer to the VRT tutorial[1] if you have any doubts.
Can you provide the full gdalinfo report of the two files?
[1]:
Another set of tests with a brand new and quite powerful laptop.
Specs for the
computer:
Intel i7-2760QM @2.4 GHz processor (8 threads)
Hitachi Travelstar Z7K320 7200 rpm SATA disk
8 GB of memory
Windows 7, 64-bit
GDAL-version r24717, Win64 build from gisinternals.com
Timings for
11 matches
Mail list logo