Hello,
Is it possible to apply an on-the-fly affine transform to an OGR dataset
with the help of VRT ?
Could not find any help or mailing list message about this...
The source of the issue is we want to display in QGIS a
non-georeferenced raster with an associated GML mask, where the
2013/5/20 Frank Warmerdam warmer...@pobox.com
On Mon, May 20, 2013 at 9:26 AM, Jaak Laineste (Nutiteq) j...@nutiteq.com
wrote:
Hello,
I compiled GDAL 0.10 release for Android, with basic driver package. I
left cURL and other more complex dependencies for later. It works with
partial
On Fri, May 24, 2013 at 6:16 AM, Jaak Laineste (Nutiteq)
j...@nutiteq.comwrote:
Note that not getting this type right is likely behind some of the other
failures you are seeing.
I now recompiled with #define HAVE_LONG_LONG 1 (manually added it to
cpl_config.h) and it seems to work now.
Julien,
I am not aware of any existing way to do this. I might be nice if an OGR
VRT could apply something like this on the fly, but that doesn't exist
currently.
Best regards,
Frank
On Fri, May 24, 2013 at 3:04 AM, Julien Malik julien.ma...@c-s.fr wrote:
Hello,
Is it possible to apply an
OK, thanks a lot for the information.
Best regards,
Julien
On 05/24/2013 03:48 PM, Frank Warmerdam wrote:
Julien,
I am not aware of any existing way to do this. I might be nice if an
OGR VRT could apply something like this on the fly, but that doesn't
exist currently.
Best regards,
Frank
Frank Warmerdam warmerdam at pobox.com writes:
Julien,
I am not aware of any existing way to do this. I might be nice if an OGR
VRT could apply something like this on the fly, but that doesn't exist
currently.
I wonder if it could be done by using the Spatialite SQL dialect and
Hi,
This works with ogrinfo
ogrinfo -ro cities.shp -dialect SQLITE -sql select GEOMETRY from cities
I tried to make a VRT file which would do the same
OGRVRTDataSource
OGRVRTLayer name=cities
SrcDataSourcecities.shp/SrcDataSource
LayerSRSWGS84/LayerSRS
SrcSQLSELECT GEOMETRY from cities/SrcSQL
Hi guys,
I'm trying to make a script that converts 3d shapefiles to 2d.
I'm using the loop 'for...do'' and this command:
'ogr2ogr -f ESRI Shapefile -nlt POINT 2d_points/$shp $shp'
My problem is that i don't know how to select only shapefiles of
points, and next only polygons, and next only
If you are using a recent version can you ignore geometry type and use
the -dim 2 switch?
-dim val:(starting with GDAL 1.10) Force the coordinate dimension to
val (valid values are 2 or 3). This affects both the layer geometry
type, and feature geometries.
Best Regards, Eli
On Fri, May 24,
Jukka,
Agreed! The SrcSQL directive in the VRT should accept a dialect option.
I'll try to do that this afternoon as we are sprinting here at FOSS4G NA
and this would be a nice sized feature to add.
Best regards,
Frank
On Fri, May 24, 2013 at 8:39 AM, Jukka Rahkonen
Hi Eli,
Like that?[1]
[1] ogr2ogr -f ESRI Shapefile -dim 2 pontos_2d.shp ocup_ilegal.shp
With this command don't work. I'm using 1.9 version but the '-dim'
option don't show up if i type 'ogr2ogr --long-usage'.
Em 24-05-2013 17:44, Eli Adam escreveu:
If you are using a recent version can
Jukka,
It turns out you can already assign a dialect. I think it is roughly like:
SrcSQL dialect=sqliteSELECT .../SrcSQL
It seems to be touched on it the docs for the OGR VRT driver as well.
Best regards,
Frank
On Fri, May 24, 2013 at 9:46 AM, Frank Warmerdam warmer...@pobox.comwrote:
[1] ogr2ogr -f ESRI Shapefile -dim 2 pontos_2d.shp ocup_ilegal.shp
Yes just like this.
With this command don't work. I'm using 1.9 version but the '-dim' option
don't show up if i type 'ogr2ogr --long-usage'.
It is only in GDAL 1.10+ so it will not work in 1.9.
Eli
Em 24-05-2013
Jukka Rahkonen jukka.rahkonen at mmmtike.fi writes:
I wonder if it could be done by using the Spatialite SQL dialect and
ScaleCoordinates or ReflectCoordinates
http://www.gaia-gis.it/gaia-sins/spatialite-sql-4.0.0.html#p15
This SQL is changing the sign of y-coordinates
select
Hi Frank,
Great, and I guess that this syntax example about how to select the dialect
will be added to the driver manual page http://www.gdal.org/ogr/drv_vrt.html
in your documentation sprint of FOSS4G NA.
-Jukka-
Frank Warmerdam wrote:
Jukka,
It turns out
Jukka,
I do see it mentioned there in the SrcSQL docs.
Best regards,
Frank
On Fri, May 24, 2013 at 10:46 AM, Rahkonen Jukka
jukka.rahko...@mmmtike.fiwrote:
Hi Frank,
Great, and I guess that this syntax example about how to select the
dialect will be added to the driver manual page
Hi everyone,
I have seen crashes in libecwj2 when reading certain JPG2000 files as
well (on Linux). I have tracked it down to the bundled XML-handling
code in libecwj2 but have not had time to fully investigate.
But what I found was that if I turn off optimization when compiling
libecwj2 this
Frank Warmerdam warmerdam at pobox.com writes:
Jukka,
I do see it mentioned there in the SrcSQL docs.
Hi,
I did see it too but I did not undestand what it means before I saw your
example. XML is not my native language and the meaning of Starting with OGR
1.10, an optional dialect attribute
Hi,
The -dialect parameter in ogr2ogr does not have an effect when using VRT as
datasource but could it be made to inject the selected dialect into SrcSQL
element of the VRT? Thus
ogr2ogr -dialect SQLITE
would lead to
SrcSQL dialect=sqliteSELECT .../SrcSQL
-Jukka Rahkonen-
19 matches
Mail list logo