Evan,
On 1/30/2024 3:26 AM, Even Rouault wrote:
Ray,
Le 30/01/2024 à 05:43, Ray at Daylon via gdal-dev a écrit :
I was tracing through the TIGER/Line OGR driver and noticed that
it calls OGRTigerDataSource::Open with the bTestOpen parameter
set to TRUE, causing that function to skip calling CP
Hint: use EPSG:4326 for the SRS of the .gti.fgb, because this is the SRS
of the tiles. The GTI driver isn't smart enough to figure out that
OGC:CRS84 ~= EPSG:4326, and thus a rather dummy on-the-fly warping is done.
Le 31/01/2024 à 01:37, Michael Sumner a écrit :
just to follow up, I got it a
just to follow up, I got it all working in latest GDAL:
script at
https://github.com/mdsumner/cog-example/blob/main/gti/cop90.py
creates dsn
/vsicurl/https://github.com/mdsumner/cog-example/raw/main/gti/cop90.gti.fgb
which works nicely, thanks!
Cheers, Mike
On Tue, Jan 30, 2024 at 10:57 PM
Hi Jukka,
On Tue, Jan 30, 2024 at 4:50 PM Even Rouault via gdal-dev
wrote:
>
> Hi Jukka,
>
> this is a unfortunate move. You may have to create a custom package, possibly
> inspired from src.rpm from recent Fedora
> (https://src.fedoraproject.org/rpms/gdal).
I was about to send this link but E
Hi Jukka,
this is a unfortunate move. You may have to create a custom package,
possibly inspired from src.rpm from recent Fedora
(https://src.fedoraproject.org/rpms/gdal). I see Markus Neteler did one
for GDAL 3.0.4 for RHEL 7 in
https://copr.fedorainfracloud.org/coprs/neteler/GDAL/
Or I as
Hi,
The newest GDAL in the official RHEL repo is 3.4.3, released 2022-04-22. There
used to be GDAL 3.7 available from the PostgreSQL repo
https://yum.postgresql.org/repopackages/ and we have been using that, but the
version was removed recently. Some other user was unhappy as well and created a
as you could also attach the XRES, YRES, BANDCOUNT, etc. metadata
items that would help the GTI driver avoid probing one of the tiles.
PS: OGRLayer::SetMetadataItem(key, value) only works on FlatGeoBuf and
GPKG drivers with latest master as well
--
http://www.spatialys.com
My software is fr
ah thanks, all very helpful - no it's not done with master (for various
reasons), I'll follow up with details if relevant, mostly I was just
excited to get a useable workflow for the entire process.
Cheers, Mike
On Tue, 30 Jan 2024, 22:46 Even Rouault, wrote:
> Michael,
>
> You need to attach t
Michael,
You need to attach the CRS at layer creation time with:
layer = ds.CreateLayer(layer_name, geom_type=ogr.wkbPolygon, srs=sr)
Setting it with featureDefn.GetGeomFieldDefn(0).SetSpatialRef() is
illegal. Now that
https://gdal.org/development/rfc/rfc97_feature_and_fielddefn_sealing.html
awesome, thanks Even I'm having fun with this one.
For anyone interested I created Python to parse the OpenTopography COP90
VRT (I have to wget it locally as I don't know how to hit the URL for the
xml yet).
https://github.com/mdsumner/cog-example/blob/1ca74f3baffe69830180031ddabcbbc569816150/gti
Ray,
Le 30/01/2024 à 05:43, Ray at Daylon via gdal-dev a écrit :
I was tracing through the TIGER/Line OGR driver and noticed that
it calls OGRTigerDataSource::Open with the bTestOpen parameter
set to TRUE, causing that function to skip calling CPLError
and only return FALSE if an error happens.
11 matches
Mail list logo