Re: [gdal-dev] Command line text input (a WKT) to OGR e.g. to transform a coordinate using ogr2ogr?

2020-02-06 Thread Stefan Keller
-dialect sqlite -sql "select > st_x(st_transform(setsrid(st_geomfromtext('POINT(10.1989 > 45.9461)'),4326),2056))||','||st_y(st_transform(setsrid(st_geomfromtext('POINT(10.1989 > 45.9461)'),4326),2056)) as xy" foo.shp|find "xy" > xy: String (0.0) > xy (String) = 2814015.23

[gdal-dev] Command line text input (a WKT) to OGR e.g. to transform a coordinate using ogr2ogr?

2020-02-04 Thread Stefan Keller
Hi, I'd like to transform a single coordinate e.g. from SRS 4326 to local Swiss EPSG 2056 without creating a file before hand - just like an calculator. Is this possible in a command line shell (like Win cmd/powershell, bash) e.g. in the following (not yet functional) form: echo "POINT(10.1989

Re: [gdal-dev] ASCII Gridded XYZ and "Hectare Raster" data (STATPOP and STATENT)

2020-01-16 Thread Stefan Keller
Thanks! That confirms my guess. :Stefan Am Do., 16. Jan. 2020 um 21:30 Uhr schrieb Even Rouault : > > > Is this still an open "feature request"? > > Yes > > > And if yes, how much time would you "guesstimate" to implement this > > -tr option for some developer who does this first time? > > =>

Re: [gdal-dev] ASCII Gridded XYZ and "Hectare Raster" data (STATPOP and STATENT)

2020-01-16 Thread Stefan Keller
Bonsoir Even, Just being curious. > On jeudi 25 avril 2019 00:26:35 CEST Stefan Keller wrote: > > By guessing the "-outsize 65 75" (no. of X and Y lines) I finally got > > a result which contained a pixel size of 100, -100 meters plus > > sensible values: > >

Re: [gdal-dev] Minimal requirements of a service for reader driver OGC API - Features?

2019-12-05 Thread Stefan Keller
skimmed the ogrinfo code [1] ff. and assumes that it lacks a catch for this 404 error. Should I create an issue? :Stefan [1] https://github.com/OSGeo/gdal/blob/master/gdal/ogr/ogrsf_frmts/wfs/ogroapifdriver.cpp#L509 ff. Am Di., 3. Dez. 2019 um 21:25 Uhr schrieb Stefan Keller : > > Hi Even

Re: [gdal-dev] Minimal requirements of a service for reader driver OGC API - Features?

2019-12-03 Thread Stefan Keller
Hi Even Awesome, thanks! Tu es le meilleur. :Stefan Am Di., 3. Dez. 2019 um 17:45 Uhr schrieb Even Rouault : > > On mardi 3 décembre 2019 17:25:20 CET Stefan Keller wrote: > > Hi, > > We're implementing a minimal server of an "OGC API - Features" service > >

[gdal-dev] Minimal requirements of a service for reader driver OGC API - Features?

2019-12-03 Thread Stefan Keller
Hi, We're implementing a minimal server of an "OGC API - Features" service and test it with a reader driver of "OGC API - Features" [1] (ogrinfo, ogr2ogr, QGIS). We're getting ERROR 404 with "ogrinfo WFS3:127.0.0.1:8000 " [2] obviously because some discovery paths are not implemented at server

Re: [gdal-dev] ASCII Gridded XYZ and "Hectare Raster" data (STATPOP and STATENT)

2019-04-24 Thread Stefan Keller
CSV ... Now everything makes sense to me! I had to read the above sentence twice, though. And I'm now realizing the meaning of -txe/-tye. Merci beaucoups! I'll try that. :Stefan Am Do., 25. Apr. 2019 um 01:04 Uhr schrieb Even Rouault : > > On jeudi 25 avril 2019 00:26:35 CEST Stefan Kel

Re: [gdal-dev] ASCII Gridded XYZ and "Hectare Raster" data (STATPOP and STATENT)

2019-04-24 Thread Stefan Keller
uot;neighboring" pixel exactly is of secondary importance here. Main point is that one input value maps to only _one_ (not many) pixel in the raster output. :Stefan Am Mo., 22. Apr. 2019 um 23:49 Uhr schrieb Stefan Keller : > > Even, > > As said my point input data already has r

Re: [gdal-dev] ASCII Gridded XYZ and "Hectare Raster" data (STATPOP and STATENT)

2019-04-22 Thread Stefan Keller
:Stefan Am So., 21. Apr. 2019 um 14:48 Uhr schrieb Stefan Keller : > > Hi Even > > Thx very much! > I'll try that way and will report. > > :Stefan > > Am So., 21. Apr. 2019 um 11:31 Uhr schrieb Even Rouault > : > > > > Stefan, > > > > > >

Re: [gdal-dev] ASCII Gridded XYZ and "Hectare Raster" data (STATPOP and STATENT)

2019-04-21 Thread Stefan Keller
Hi Even Thx very much! I'll try that way and will report. :Stefan Am So., 21. Apr. 2019 um 11:31 Uhr schrieb Even Rouault : > > Stefan, > > > > > The Swiss Statistical Office curates well-known datasets informally > > called "Hectare Raster" (STATPOP and STATENT) which obviously are > > ASCII

Re: [gdal-dev] Vector Tiles in OGR

2018-02-13 Thread Stefan Keller
Hi all No there's no standard about non-Webmercator usage of vector tiles. TileJSON spec. leaves open how CRS is handled which was a wise decision. So it's up to us to come up with a proposal. But what's bad is, that TileJSON is not even up-to-date to describe vector tiles. At least MBTiles

Re: [gdal-dev] Vector Tiles in OGR

2018-01-29 Thread Stefan Keller
:Stefan [1] https://github.com/mapbox/tilejson-spec/issues/14#issuecomment-361065531 2018-01-29 14:51 GMT+01:00 Even Rouault <even.roua...@spatialys.com>: > On lundi 29 janvier 2018 10:21:04 CET Stefan Keller wrote: > >> Hi Even > >> > >> Great news about th

Re: [gdal-dev] Vector Tiles in OGR

2018-01-29 Thread Stefan Keller
Hi Even Great news about this MVT reader! The docs [1] says: > The MVT driver only uses the "json" key to retrieve the layer names, their > fields and the geometry type, and the "bounds" key for the layer extent. I just wanted to point you to the spec. discussion of MBTiles and TileJSON

Re: [gdal-dev] How to convert a local GeoTIFF to a tile set with minimal WMTSCapabilities.xml?

2017-07-21 Thread Stefan Keller
it! I'm still open for feedback on this tedious task which for sure could be automated. IMHO it would be a great extension especially to gdal2tiles. :Stefan 2017-06-07 17:36 GMT+02:00 Stefan Keller <sfkel...@gmail.com>: > Sorry for this question since I know GDAL. But it seems I'

[gdal-dev] How to convert a local GeoTIFF to a tile set with minimal WMTSCapabilities.xml?

2017-06-07 Thread Stefan Keller
Sorry for this question since I know GDAL. But it seems I'm missing something here: I'd like to do the following: A. Given a local GeoTIFF, create WMTS compatible tile set (of single zoom level 18 or a range) % python gdal2tiles.py -z 18 infile.tif outdir B. Then I'd like to test this locally %

Re: [gdal-dev] OGR drivers written in Python

2017-04-27 Thread Stefan Keller
Hi Even and Sean Allowing OGR drivers written in Python looks IMHO very promising! I actually can't follow Seans concerns (except for one, see below): Is it the fear that Python programmers step in who are less skilled? There is quite some experience with QGIS plugins and yes, there are many

Re: [gdal-dev] Vector Tiles in OGR

2017-04-17 Thread Stefan Keller
-- Forwarded message -- From: Even Rouault <even.roua...@spatialys.com> Date: 2017-04-17 11:44 GMT+02:00 Subject: Re: [gdal-dev] Vector Tiles in OGR To: Stefan Keller <sfkel...@gmail.com> Cc: Gdal-Dev <gdal-dev@lists.osgeo.org>, Flippmoke <flippm...@gmail.com>, Even Roua

Re: [gdal-dev] Vector Tiles in OGR

2017-04-14 Thread Stefan Keller
seems like it could > be a mess. > > Blake Thompson > >> On Jan 31, 2016, at 10:10 AM, Stefan Keller <sfkel...@gmail.com> wrote: >> >> Hi Petr, Blake, Even and everybody >> >> I'm (besides Petr) the other maintainer of OSM2VectorTiles. >> I'd alrea

Re: [gdal-dev] gdal_translate issues downloading GeoTIFF with TMS/WMTS/AGS

2016-05-31 Thread Stefan Keller
Hi Even Merci beaucoups! That calculation of SizeX/SizeY (zoom level 19 and tiles of size 256 => 134217728 ( 256 * 2^19)) helped. Two small issues remained using the AGS and "arcgisonline World_Imagery" (I'm working with GDAL 2.0.2, released 2016/01/26): 1. That ImageSR=102100 causes an error

Re: [gdal-dev] Problem with Shapefile and CRS 2056/21781

2016-04-25 Thread Stefan Keller
rac.osgeo.org/gdal/ticket/6485 :Stefan 2016-04-24 17:58 GMT+02:00 Even Rouault <even.roua...@spatialys.com>: > Le dimanche 24 avril 2016 17:46:45, Stefan Keller a écrit : >> 2016-04-24 17:34 GMT+02:00 Even Rouault <even.roua...@spatialys.com>: >> > Could you post t

Re: [gdal-dev] Problem with Shapefile and CRS 2056/21781

2016-04-24 Thread Stefan Keller
2016-04-24 17:34 GMT+02:00 Even Rouault <even.roua...@spatialys.com>: > Could you post the .prj file ? Bien sur: I posted both CRS. Hope attachments come through. :Stefan 2016-04-24 17:34 GMT+02:00 Even Rouault <even.roua...@spatialys.com>: > Le dimanche 24 avril 2016 17:29

[gdal-dev] Problem with Shapefile and CRS 2056/21781

2016-04-24 Thread Stefan Keller
Given a Shapefile "swiss_admin_boundaries.shp" in EPSG:2056 (or 21781, to be downloaded for free at [1]) I have problems transforming it to any other SRS/CRS. When doing this: > ogr2ogr -f "GPKG" swiss_admin_boundaries1.gpkg swiss_admin_boundaries.shp > -t_srs EPSG:3857 ...

Re: [gdal-dev] [OSGeo-Standards] CSV spatial data on the web

2016-02-17 Thread Stefan Keller
correct. I have to be more specific: The ABNF of RFC4180 says: escaped = DQUOTE *(TEXTDATA / COMMA / CR / LF / 2DQUOTE) DQUOTE :Stefan 2016-02-17 14:02 GMT+01:00 Oliver Tonnhofer <o...@bogosoft.com>: > Hi Stefan, > > >> On 17.02.2016, at 13:53, Stefan Keller <sfkel...@gmail.com&g

Re: [gdal-dev] [OSGeo-Standards] CSV spatial data on the web

2016-02-17 Thread Stefan Keller
ed/binary or has a markup (and both would need pre- and postformatting). :Stefan 2016-02-17 11:48 GMT+01:00 Jeremy Palmer <jpal...@linz.govt.nz>: > Hi Sfefan, > >> On 17/02/2016, at 11:31 PM, Stefan Keller <sfkel...@gmail.com> wrote: >> >> Hi Jeremy >> >>

Re: [gdal-dev] [OSGeo-Standards] CSV spatial data on the web

2016-02-16 Thread Stefan Keller
Hi Jeremy Thanks for the info. I assume you are aware of GeoCSV and related software like the well-known OGR (and the #TheShapefileChallenge ): http://giswiki.hsr.ch/GeoCSV :Stefan 2016-02-16 19:40 GMT+01:00 Jeremy Palmer : > For forks that are interested W3C has setup a

Re: [gdal-dev] Vector Tiles in OGR

2016-02-03 Thread Stefan Keller
at a predefined "upper" zoom level. Can elaborate on this? :Stefan 2016-02-02 7:46 GMT+01:00 Stefan Keller <sfkel...@gmail.com>: > Blake, > > Thanks for the comments. > Regarding leaving out data at intermediate zoom levels I also meant > omitting (setting to null) the entire

Re: [gdal-dev] Vector Tiles in OGR

2016-02-01 Thread Stefan Keller
time but we don't have the time to do it right now. > > I will try to think this week about how we could make a generic C++ library > quickly for Mapbox vector tiles. > > Thanks, > > Blake Thompson > >> On Feb 1, 2016, at 1:06 AM, Stefan Keller <sfkel...@gmail.com&

Re: [gdal-dev] Vector Tiles in OGR

2016-02-01 Thread Stefan Keller
le that filters type „building“ for > zoomLevels <= 18. > > ~Ben > > Am 01.02.16, 20:16 schrieb "gdal-dev on behalf of Stefan Keller" unter > <gdal-dev-boun...@lists.osgeo.org on behalf of sfkel...@gmail.com>: > >>That's good news! >>We'll be hap

Re: [gdal-dev] Vector Tiles in OGR

2016-02-01 Thread Stefan Keller
you might help! > > Finally, I would like to stress that while Mapbox Vector Tiles were designed > to be for rendering, it was well known during their design that they could > be used for other applications. This was especially true when I was writing > 2.0 of the specification as I tried

Re: [gdal-dev] Vector Tiles in OGR

2016-02-01 Thread Stefan Keller
ly library > with no dependencies. Adding more dependencies for GDAL seems like it could > be a mess. > > Blake Thompson > >> On Jan 31, 2016, at 10:10 AM, Stefan Keller <sfkel...@gmail.com> wrote: >> >> Hi Petr, Blake, Even and everybody >> >> I

Re: [gdal-dev] Vector Tiles in OGR

2016-02-01 Thread Stefan Keller
> a better general purpose tile format." -- Any issues you might have with >> > the >> > Mapbox Vector Tile Specification or any ideas you might have with the >> > format >> > are very much welcome. We want to make sure the spec migrates for >> > communi

Re: [gdal-dev] Vector Tiles in OGR

2016-01-31 Thread Stefan Keller
Hi Petr, Blake, Even and everybody I'm (besides Petr) the other maintainer of OSM2VectorTiles. I'd already asked Even a similar question. I'm advising now an intern to implement such a MVT Vector Tiles reader client in Python if possible as part of a QGIS plugin. And I'm interested not to do

[gdal-dev] GDAL_WMS/TMS with local CRS and bbox problem

2016-01-15 Thread Stefan Keller
Hi I have a GDAL .vrt from a GDAL_WMS/TMS which was tweaked to projection/CRS EPSG:21781 [see below *]. The problem here is, that the bbox is way too large. It should be Switzerland but it's larger than europe. (in 21781 it's lowerleftX 48 loverleft Y 7 upperrightX 84 upperrightY

Re: [gdal-dev] GDAL_WMS/TMS with local CRS and bbox problem

2016-01-15 Thread Stefan Keller
Thanks, Even and Andre! :S 2016-01-15 13:04 GMT+01:00 Even Rouault <even.roua...@spatialys.com>: > Le vendredi 15 janvier 2016 12:46:33, Stefan Keller a écrit : >> Hi >> >> I have a GDAL .vrt from a GDAL_WMS/TMS which was tweaked to >> projection/CRS EPSG:21781

Re: [gdal-dev] Ingesting ESRI geometry into PostGIS

2015-11-23 Thread Stefan Keller
See also https://trac.osgeo.org/postgis/wiki/UsersWikiPostgisarcgis :S 2015-11-23 20:01 GMT+01:00 David Vick : > Paul, > > Thanks for the response. We are running ArcSDE on top of the PostgreSQL > server hence the first part of the question. As part of our process we

Re: [gdal-dev] MDB tools

2015-10-02 Thread Stefan Keller
I have a similar issue and supposedly a very simple question: Given a file Geomedia .mdb file I'm getting a similar error on Windows. % ogrinfo myfile.mdb -al -so How does OGR recognize if it's a Personal Geodatabase or a Geomedia file? :Stefan 2012-03-28 16:19 GMT+02:00 Paolo Corti

Re: [gdal-dev] MDB tools

2015-10-02 Thread Stefan Keller
chip in too. > Regards, > Zoltan > > > On 2015-10-02 15:38, Stefan Keller wrote: >> >> I have a similar issue and supposedly a very simple question: >> Given a file Geomedia .mdb file I'm getting a similar error on Windows. >> % ogrinfo myfile.mdb -al -so >

Re: [gdal-dev] MDB tools

2015-10-02 Thread Stefan Keller
gerstreifen.mdb' with the following drivers. -> OCI -> ... :Stefan 2015-10-02 16:35 GMT+02:00 Stefan Keller <sfkel...@gmail.com>: > Zoltan > > Yes, I'm testing GDAL 1.11.2, released 2015/02/10, in Windows which > supports PGeo and Geomedia. > My problem is, how can I

Re: [gdal-dev] MDB tools

2015-10-02 Thread Stefan Keller
Even, tu es le meilleur... :Stefan 2015-10-02 19:58 GMT+02:00 Even Rouault <even.roua...@spatialys.com>: > Le vendredi 02 octobre 2015 19:54:12, Stefan Keller a écrit : >> 2015-10-02 16:35 GMT+02:00 I wrote >> >> > Yes, I'm testing GDAL 1.11.2, released 2015/02/10,

Re: [gdal-dev] Attempting to access an ArcGIS REST API through a WMS format minidriver

2015-08-11 Thread Stefan Keller
nothing). Yours, Stefan 2015-08-10 18:55 GMT+02:00 Dmitry Baryshnikov bishop@gmail.com: Hi Stefan, The ArcGIS REST API was introduced in GDAL 2.0 (see http://gdal.org/frmt_wms.html). What is you GDAL version? Best regards, Dmitry 10.08.2015 19:02, Stefan Keller пишет: Hi

Re: [gdal-dev] OGR Field Types?

2015-06-07 Thread Stefan Keller
. Even Cheers, S. 2015-05-22 1:07 GMT+02:00 Stefan Keller sfkel...@gmail.com: 2015-05-22 0:53 GMT+02:00 Even Rouault even.roua...@spatialys.com: ... * Easting,Northing X,Y or Geometry(X), Geometry(Y) or Point(X),Point(Y) would perhaps be easier to get. I don't know. So let's

Re: [gdal-dev] OGR Field Types?

2015-06-04 Thread Stefan Keller
Hi Brad 2015-06-05 3:18 GMT+02:00 Brad Hards br...@frogmouth.net wrote: We've finished the GeoCSV spec. Does that mean: http://giswiki.hsr.ch/GeoCSV ? Yes. Any comments are welcome. Cheers, S. 2015-06-05 3:18 GMT+02:00 Brad Hards br...@frogmouth.net: On Fri, 5 Jun 2015 12:38:01 AM Stefan

Re: [gdal-dev] OGR Field Types?

2015-05-21 Thread Stefan Keller
, Polygon. What do you think? This could also make QGIS Add Delimited Text Layer... even better. --S. [1] http://www.gdal.org/drv_csv.html 2015-04-29 22:57 GMT+02:00 Stefan Keller sfkel...@gmail.com: Salut Even, Merci! 2015-04-29 20:35 GMT+02:00 Even Rouault even.roua...@spatialys.com

Re: [gdal-dev] OGR Field Types?

2015-05-21 Thread Stefan Keller
Even Rouault even.roua...@spatialys.com: Le jeudi 21 mai 2015 23:17:26, Stefan Keller a écrit : Hi Even I just see some type mod and subtype definitions for .csvt files in the CSV docs [1] : In a single line the types for each column have to be listed with double quotes and be comma

Re: [gdal-dev] OGR Field Types?

2015-05-21 Thread Stefan Keller
even.roua...@spatialys.com: Le vendredi 22 mai 2015 00:33:43, Stefan Keller a écrit : 2015-05-21 23:34 GMT+02:00 Even Rouault even.roua...@spatialys.com: ... 4. Geometry(Easting),Geometry(Northing) For points only I guess? Yes. 5. Geometry -- encoded in WKT; having subtype values WKT

Re: [gdal-dev] GeoPackage vector driver fails if layer name contains chars not compatible with SQLite

2015-05-20 Thread Stefan Keller
Hi Even Just another small issue: GPKG can't handle pre-existing fid column name: ogr2ogr -f GPKG outfile2.gpkg infile.geojson -nln layer_a ERROR 1: sqlite3_exec(ALTER TABLE layer_a ADD COLUMN fid INTEGER) failed: duplic ate column name: fid --S. 2015-05-18 18:50 GMT+02:00 Stefan Keller sfkel

Re: [gdal-dev] GeoPackage vector driver fails if layer name contains chars not compatible with SQLite

2015-05-20 Thread Stefan Keller
: Terminating translation prematurely after failed translation of layer baustellen-detailansicht (use -skipfailures to skip errors) 2015-05-20 11:21 GMT+02:00 Even Rouault even.roua...@spatialys.com: Le mercredi 20 mai 2015 11:13:53, Stefan Keller a écrit : Hi Even Just another small issue: GPKG

[gdal-dev] GeoPackage vector driver fails if layer name contains chars not compatible with SQLite

2015-05-18 Thread Stefan Keller
Hi, GeoPackage vector driver seems to fail if layer name contains chars not compatible with SQLite (like dashes, '-'). See this: $ ogr2ogr -f GPKG outfile.gpkg infile.geojson -nln layer_a OK $ ogrinfo -al -so outfile.gpkg INFO: Open of `outfile.gpkg' using driver `GPKG' successful. 1:

Re: [gdal-dev] GeoPackage vector driver fails if layer name contains chars not compatible with SQLite

2015-05-18 Thread Stefan Keller
Salut Even 2015-05-18 17:40 GMT+02:00 Even Rouault even.roua...@spatialys.com a écrit : Le lundi 18 mai 2015 17:25:18, Stefan Keller a écrit : Hi, GeoPackage vector driver seems to fail if layer name contains chars not compatible with SQLite (like dashes, '-'). Stefan, This has been

Re: [gdal-dev] GDAL overrite file error

2015-05-07 Thread Stefan Keller
code freeze. 2015-05-07 20:56 GMT+02:00 Even Rouault even.roua...@spatialys.com: Le jeudi 07 mai 2015 20:27:03, Stefan Keller a écrit : Hi, Regarding overwrite: I think the -overwrite parameter in ogr2ogr commandline tool does not work. I tried it with drivers like ESRI Shapefile, GeoJSON

Re: [gdal-dev] GDAL overrite file error

2015-05-07 Thread Stefan Keller
Hi, Regarding overwrite: I think the -overwrite parameter in ogr2ogr commandline tool does not work. I tried it with drivers like ESRI Shapefile, GeoJSON and others without success. ogr2ogr always exits and reports ERROR 6: The GeoJSON driver does not overwrite existing files. Why should drivers

Re: [gdal-dev] GDAL overrite file error

2015-05-07 Thread Stefan Keller
-05-07 22:15 GMT+02:00 Even Rouault even.roua...@spatialys.com: Le jeudi 07 mai 2015 21:53:19, Stefan Keller a écrit : Hi Even (and Peter) Thanks for your quick answers! I actually referred to file related read/write formats. I tested some of them, if they support overwriting (I think

[gdal-dev] OGR Field Types?

2015-04-29 Thread Stefan Keller
I've few questions regarding CSV and OGR field types: Doc. http://www.gdal.org/ogr2ogr.html mentions following field types for -mapFieldType: Integer, Integer64, Real, String, Date, Time, DateTime, Binary, IntegerList, Integer64List, RealList, StringList. Doc http://www.gdal.org/drv_csv.html

Re: [gdal-dev] OGR Field Types?

2015-04-29 Thread Stefan Keller
Salut Even, Merci! 2015-04-29 20:35 GMT+02:00 Even Rouault even.roua...@spatialys.com: Stefan Questions: 1. How is 'binary' encoded? E.g. when defining binary in a CSV file, how is it encoded? Hex? There's no support in the CSV driver for binary data 2. Can a field in a CSV input files

[gdal-dev] Height issues with SRTM data after gdalwarp WGS84=Mercator

2015-04-10 Thread Stefan Keller
I'm having similar issues with getting height from after using gdalwarp to transform SRTM elevation model data from WGS84 (EPSG:4326) to Mercator (EPSG:3857) similar to this Stackexchange question:

Re: [gdal-dev] ReadAsArray

2015-04-03 Thread Stefan Keller
Hi Yuta Thanks! I'll try this. I'm still wondering which approach is faster: With gdal or rasterio... Cheers, Stefan 2015-04-03 17:46 GMT+02:00 Yuta Sato yutaxs...@gmail.com: On Fri, Apr 3, 2015 at 11:08 PM, Stefan Keller sfkel...@gmail.com wrote: Hi Yuta and Even Excuse me when I creep

Re: [gdal-dev] ReadAsArray

2015-04-03 Thread Stefan Keller
Hi Yuta and Even Excuse me when I creep in that discussion - but I'm acutally having quite a similar beginners question (I'm rather a vector guy :-) ): Yuta: Can you post the code fragment here in order to make benchmarks? I have a GeoTIFF (representing heights from SRTM3) in Mercator CRS of

Re: [gdal-dev] OGR: How to access Coded Value Domains in File Geodatabases?

2015-01-13 Thread Stefan Keller
I'd like to support mwtoews proposal to expose a coded value domain as a simple lookup table. -S. 2015-01-07 18:03 GMT+01:00 Stefan Keller sfkel...@gmail.com: 2015-01-07 16:39 GMT+01:00 Even Rouault even.roua...@spatialys.com: Hum I don't think so. Ok. And what about accessing it with Python

Re: [gdal-dev] OGR: How to access Coded Value Domains in File Geodatabases?

2015-01-07 Thread Stefan Keller
, where the code/value pairs are in attributes of XML code, which can be used to either hash the values or do an SQL JOIN. -Mike On 7 January 2015 at 14:20, Stefan Keller sfkel...@gmail.com wrote: Hi, ArcGIS offers Coded Value Domains (short: coded domain) to specify a valid set of values

Re: [gdal-dev] OGR: How to access Coded Value Domains in File Geodatabases?

2015-01-07 Thread Stefan Keller
Rouault even.roua...@spatialys.com: Le mercredi 07 janvier 2015 16:20:46, Stefan Keller a écrit : Hi Mike Thanks! That ticket is very insightful. I'm not sure though if there is already an agreement there about the best solution inside OGR code. In the meantime: Am I correct that there's

[gdal-dev] OGR: How to access Coded Value Domains in File Geodatabases?

2015-01-06 Thread Stefan Keller
Hi, ArcGIS offers Coded Value Domains (short: coded domain) to specify a valid set of values (code+description) for an attribute [1]. Any clues on how to access this information using ogr2ogr, i.e. how to export this to a separate table when converting e.g. from a ESRI File Geodatabase

Re: [gdal-dev] [Qgis-user] Generating GeoTIFF overview (gdaladdo -r gauss ...) takes days for 2GB file...

2014-10-17 Thread Stefan Keller
functionality to get nice raster rendering. Regards Stefan -Ursprüngliche Nachricht- Von: qgis-user-boun...@lists.osgeo.org [mailto:qgis-user-boun...@lists.osgeo.org] Im Auftrag von Jonathan Moules Gesendet: Montag, 13. Oktober 2014 15:05 An: 'Stefan Keller'; 'gdal-dev

Re: [gdal-dev] [Qgis-user] Generating GeoTIFF overview (gdaladdo -r gauss ...) takes days for 2GB file...

2014-10-17 Thread Stefan Keller
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Stefan Keller Sent: Sunday, October 12, 2014 1:34 PM To: gdal-dev@lists.osgeo.org; qgis-user Subject: [Qgis-user] Generating GeoTIFF overview (gdaladdo -r gauss ...) takes days for 2GB file... Hi, I have a GeoTIFF file of 2GB size. Now

[gdal-dev] Generating GeoTIFF overview (gdaladdo -r gauss ...) takes days for 2GB file...

2014-10-12 Thread Stefan Keller
Hi, I have a GeoTIFF file of 2GB size. Now, this question is about gdaladdo and how to optimize loading time of such a large raster file. According to my observations QGIS has fastest loading times when it's a single GeoTIFF file with overview images. Q.1: Does anybody have tipps for even

[gdal-dev] Revival of OGR Layer Converter plugin?

2014-05-18 Thread Stefan Keller
Hi Mateusz, hi all Four years ago you submitted the OGR Layer Converter plugin to QGIS trunk (http://hub.qgis.org/issues/1249 ). Since then OGR became part of the usual Open Vector Layer... dialog. But this open... dialog includes no parameter ogr2ogr would have - neither source nor target

Re: [gdal-dev] [Qgis-developer] Revival of OGR Layer Converter plugin?

2014-05-18 Thread Stefan Keller
://i.imgur.com/DW7tYEF.png - Nathan On Sun, May 18, 2014 at 11:29 PM, Stefan Keller sfkel...@gmail.comwrote: Hi Mateusz, hi all Four years ago you submitted the OGR Layer Converter plugin to QGIS trunk (http://hub.qgis.org/issues/1249 ). Since then OGR became part of the usual Open Vector Layer

[gdal-dev] Considerations around WFS layer and ArcGIS REST API Connector Plugin

2014-04-05 Thread Stefan Keller
Hi Devs, Tobias and I are working on the ArcGIS REST API Connector Plugin which reads WFS- and WMTS-alike services (called Feature Service and Map Service) from ArcGIS Online or ArcGIS Server 10.x. Let's call this a connection of type ArcGIS Layer, which creates a vector layer (in memory). 1.

[gdal-dev] Make stdin in OGR/GDAL tools cross-platform?

2014-03-13 Thread Stefan Keller
In OSM driver [1] there's an example about using stdin in OGR which is Unix based: Reading .osm.bz2 files and/or online files .osm.bz2 are not natively recognized, however you can process them (on Unix), with the following command : bzcat my.osm.bz2 | ogr2ogr -f SQLite my.sqlite /vsistdin/

Re: [gdal-dev] Make stdin in OGR/GDAL tools cross-platform?

2014-03-13 Thread Stefan Keller
Hi Even Oh, sorry for asking something obvious: It works on my Windows with curl and /vsistdin/ like e.g. curl http://download.geofabrik.de/europe/liechtenstein-latest.osm.pbf | ogr2ogr -f SQLite liechtenstein.sqlite /vsistdin/ Actually there a spurious error when trying to do that with

[gdal-dev] OGC adopts important GeoPackage Standard

2014-02-13 Thread Stefan Keller
Taken from OGC press releases 13 February 2014 - The Open Geospatial Consortium (OGC®) has adopted the OGC GeoPackage (GPKG) Encoding Standard. The GeoPackage standard will make it much easier to exchange and share geospatial (or location) information across different devices, applications and

Re: [gdal-dev] [pdal] Building PDAL using pramsey-config.sh

2013-11-04 Thread Stefan Keller
Hi PDAL and GDAL list I'm referring to the error reported above when (still) trying to compile PDAL with pointcloud support. What I'm really wondering is why GDAL developpers are calling function gtCPLRealloc the same as in GeoTIFF lib but with different declaration? See

Re: [gdal-dev] [pdal] Building PDAL using pramsey-config.sh

2013-11-04 Thread Stefan Keller
, Even. I'll try to forward this hint to PDAL devs. Yours, Stefan 2013/11/4 Even Rouault even.roua...@mines-paris.org Le lundi 04 novembre 2013 20:30:08, Stefan Keller a écrit : Hi PDAL and GDAL list I'm referring to the error reported above when (still) trying to compile PDAL

Re: [gdal-dev] GDAL/OGR 1.10.0 Release Candidate 3 available

2013-04-29 Thread Stefan Keller
Hi all Thanks for your tremendous work! Just curious: Is there an estimate (in days,weeks months) about the next stable release? Yours, Stefan 2013/4/19 Jeff McKenna jmcke...@gatewaygeomatics.com On 2013-04-18 5:26 PM, Even Rouault wrote: Hi, I've prepared a third (and hopefully last)

[gdal-dev] MODIS Cloud Mask reprojection

2013-04-24 Thread Stefan Keller
Hi Rudger I have a similar problem like Laure in the former thread MODIS reprojection. I'd like to process the most recent, high resolution and free cloud data of middle Europe. = I think it's MODIS Terra and Acqua, right? Below you see the result of rhe metadata of my input file. How can I

Re: [gdal-dev] Missing geometry type when using ogr2ogr to write FileGDB

2013-04-22 Thread Stefan Keller
Hi Jukka and Even I also thought about this, i.e. to delay the determination of the geometry type check to the first occurrence, in case when the abstract gml: GeometryPropertyType has been announced in DescribeFeature. I know that QGIS, ArcGIS Desktop and Gaia clients can read the WFS mentioned

Re: [gdal-dev] Missing geometry type when using ogr2ogr to write FileGDB

2013-04-22 Thread Stefan Keller
Hi Jukka and Even After all, I agree with Even that OGR behaves correctly in this case. And I think -nlt guess is a good proposal. I'm also aware what Jukka says that mixed geometries are allowd. But I always wondered which current implementation can cope with this - except Spatialite/SQLite

[gdal-dev] Missing geometry type when using ogr2ogr to write FileGDB

2013-04-21 Thread Stefan Keller
When trying to use ogr2ogr (ver. 1.9) to convert a Shapefile (geometry type Polygon) to file geodatabase (FileGDB) I'm getting an error like FGDB layers cannot be created with a wkbUnknown layer geometry type.: $ ogr2ogr -f filegdb out.gdb polygon.shp When adding -nlt it seems to work: $

Re: [gdal-dev] Missing geometry type when using ogr2ogr to write FileGDB

2013-04-21 Thread Stefan Keller
... /fs:pois /gml:featureMember ... /wfs:FeatureCollection 2013/4/21 Even Rouault even.roua...@mines-paris.org Le dimanche 21 avril 2013 17:49:28, Stefan Keller a écrit : When trying to use ogr2ogr (ver. 1.9) to convert a Shapefile (geometry type Polygon) to file geodatabase (FileGDB) I'm

Re: [gdal-dev] Missing geometry type when using ogr2ogr to write FileGDB

2013-04-21 Thread Stefan Keller
' successful. 1: pois (Point) 'SERVICE' is not recognized as an internal or external command, operable program or batch file. 'TYPENAME' is not recognized as an internal or external command, operable program or batch file. Yours, Stefan 2013/4/21 Stefan Keller sfkel...@gmail.com Many thanks

Re: [gdal-dev] Missing geometry type when using ogr2ogr to write FileGDB

2013-04-21 Thread Stefan Keller
/workspace.cgi?key=HG4kFX2kEEqBSqvcswuh2E' using driver `WFS' successful. 1: pois (Point) 'SERVICE' is not recognized as an internal or external command, operable program or batch file. 2013/4/21 Stefan Keller sfkel...@gmail.com Weird enough, this ogrinfo command works $ ogrinfo -ro WFS

Re: [gdal-dev] Missing geometry type when using ogr2ogr to write FileGDB

2013-04-21 Thread Stefan Keller
/ms:objectid ms:svozoneoid141/ms:svozoneoid ... /ms:svo_zonen /gml:featureMember ... 2013/4/21 Even Rouault even.roua...@mines-paris.org Le dimanche 21 avril 2013 19:44:19, Stefan Keller a écrit : I got the real problem: It occurs with this WFS source: http://maps.zh.ch/wfs

Re: [gdal-dev] Missing geometry type when using ogr2ogr to write FileGDB

2013-04-21 Thread Stefan Keller
=gml:SurfacePropertyType would the WFS reader of GDAL work? I thought, most WFS clients/converters read GetCapabilities, not DescribeFeatureType. Yours, Stefan 2013/4/21 Even Rouault even.roua...@mines-paris.org Le dimanche 21 avril 2013 22:18:38, Stefan Keller a écrit : Hi Even You're right about

Re: [gdal-dev] Missing geometry type when using ogr2ogr to write FileGDB

2013-04-21 Thread Stefan Keller
/UMN-MAPSERVER-DEV-change-in-WFS-DescribeFeatureType-response-MS-4-6-td4309674.html 2013/4/21 Even Rouault even.roua...@mines-paris.org Le dimanche 21 avril 2013 22:39:09, Stefan Keller a écrit : 2013/4/21 Even Rouault even.roua...@mines-paris.org There's nothing wrong in the GetFeature

Re: [gdal-dev] GDAL/OGR 1.10.0 Release Candidate 1 available for testing

2013-04-14 Thread Stefan Keller
Hi Even Cool stuff to come. Regarding the geocoding on 2013/4/4 I wrote to you and the GDAL DEV list Unfortunately Yahoo cut the free geocoding service and offers now paid-only BOSS services... Yours, Stefan In the API doc and the code I still see the old and ceased Yahoo Placefinder which

Re: [gdal-dev] A geocoding client API in GDAL/OGR

2013-04-03 Thread Stefan Keller
Hi Even Cool stuff! Unfortunately Yahoo cut the free geocoding service and offers now paid-only BOSS services... Yours, Stefan 2012/12/30 Even Rouault even.roua...@mines-paris.org Hi all, A new API has been added to GDAL/OGR to use geocoding services, such as OpenStreetMap Nominatim,

Re: [gdal-dev] Postgis Raster out-db support

2013-03-22 Thread Stefan Keller
: On 21 March 2013 15:15, Stefan Keller sfkel...@gmail.com wrote: Sry: I meant GDAL2Tiles, not gdal2raster. From what it says on the tin, GDAL2Tiles converts to directory structure, not a database. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net

Re: [gdal-dev] Postgis Raster out-db support

2013-03-22 Thread Stefan Keller
permitted in PostGIS Raster is 65535 x 65535. And the maximum field size is 1 GB (PostgreSQL). Yours, Stefan 2013/3/22 Mateusz Loskot mate...@loskot.net: On 22 March 2013 12:02, Stefan Keller sfkel...@gmail.com wrote: Hi Paolo and Mateusz Thanks for the hints. I'm fully aware what's in the docs

Re: [gdal-dev] Postgis Raster out-db support

2013-03-21 Thread Stefan Keller
Hi Mateusz, hi all Did anyone ever tried to use a tiling tool like gdal2raster (or mapnik) as source and PostGIS Raster as target? Or exporting PostGIS Raster to MBTiles format (using GDAL as resampler)? Yours, Stefan 2013/3/14 Mateusz Loskot mate...@loskot.net: On 14 March 2013 17:11, ryagz

Re: [gdal-dev] Do not cross post (was Postgis Raster out-db support)

2013-03-21 Thread Stefan Keller
wrote: On 21 March 2013 12:14, Stefan Keller sfkel...@gmail.com wrote: Hi Mateusz, hi all Did anyone ever tried to use a tiling tool like gdal2raster (or mapnik) as source and PostGIS Raster as target? I don't know anything about gdal2raster, I'm afraid. Or exporting PostGIS Raster

Re: [gdal-dev] New OGR driver to read OpenStreetMap .osm / .pbf files

2013-01-08 Thread Stefan Keller
Hi Even Documentation of OpenStreetMap driver suggest its stable - but when I recently installed the newest OGR version on a linux it was'nt there. Is it not yet stable enough? If not, what do you recommend? Should I include the tagged version (currently 1.9.2) and add the trunk version

Re: [gdal-dev] New OGR driver to read OpenStreetMap .osm / .pbf files

2013-01-08 Thread Stefan Keller
) drivers http://www.gdal.org/ogr/ogr_formats.html . Yours, Stefan 2013/1/9 Even Rouault even.roua...@mines-paris.org: Le mercredi 09 janvier 2013 01:02:22, Stefan Keller a écrit : Hi Even Documentation of OpenStreetMap driver suggest its stable (Just curious what in the doc makes you call

[gdal-dev] FWTools outdated on GDAL/OGR download page

2012-08-23 Thread Stefan Keller
Hi, The FWTools mentioned on the bottom of the download page of GDAL/OGR Binaries [1] leads to releases where the latest build dates back to 2007. I think there should be a note that FWTools are outdated and not maintained any more - unless I'm wrong. Yours, S. [1]

[gdal-dev] OGR ESRI ArcSDE driver tested with ArcSDE 10 (Windows)?

2012-04-27 Thread Stefan Keller
The OGR doc here http://www.gdal.org/ogr/drv_sde.html says: The driver has been tested with ArcSDE 9.x, and should work with newer versions Has anybody tested it with ArcSDE 10.x (especially under Windows)? Yours, S. ___ gdal-dev mailing list

Re: [gdal-dev] How to convert a GIF (being a grid with value in channel B from RGB) to XYZ?

2011-07-26 Thread Stefan Keller
.)? Yours, S. 2011/7/25 Chaitanya kumar CH chaitanya...@gmail.com: If the transformation is just shifting and scaling you can set the GeoTransform element in the VRT file. You can scale the pixel values using the Offset and Scale elements. On Mon, Jul 25, 2011 at 5:24 PM, Stefan Keller sfkel

Re: [gdal-dev] How to convert a GIF (being a grid with value in channel B from RGB) to XYZ?

2011-07-25 Thread Stefan Keller
/gdal_vrttut.html On Mon, Jul 25, 2011 at 12:39 AM, Stefan Keller sfkel...@gmail.com wrote: I have a raster/grid file transformation and conversion question: The input are hunddrets of GIF files which in fact are a grid about rainfall observations. The files have 8 BitsPerPixel (0..255). The B channel

[gdal-dev] How to convert a GIF (being a grid with value in channel B from RGB) to XYZ?

2011-07-24 Thread Stefan Keller
I have a raster/grid file transformation and conversion question: The input are hunddrets of GIF files which in fact are a grid about rainfall observations. The files have 8 BitsPerPixel (0..255). The B channel (integer value) from RGB obviously represents the precipitation intensity in [mm/h]

Re: [gdal-dev] LAS format driver for OGR?

2011-04-17 Thread Stefan Keller
is essentially vector point data plus a (more or less?) fixed number of properties like color. Yours, S. 2011/4/17 Mateusz Loskot mate...@loskot.net: Stefan Keller wrote: I tried to read LIDAR data in LAS format from LAStools (http://www.cs.unc.edu/~isenburg/lastools/ ) but without success using

Re: [gdal-dev] Re: LAS format driver for OGR?

2011-04-17 Thread Stefan Keller
an 'intermediate' format like CSV OGR writer and AS_WKT option? Yours, Stefan 2011/4/17 Mateusz Loskot mate...@loskot.net: Stefan Keller wrote: Some time ago I have written a tool to dump LAS data to virtually any OGR dataset: http://liblas.org/utilities/las2ogr.html I'll have a look at http

[gdal-dev] LAS format driver for OGR?

2011-04-16 Thread Stefan Keller
Hi, Can GDAL/OGR read/write the ASPRS LAS format versions 1.0 .. 1.3 (defined here: http://liblas.org/ )? I tried to read LIDAR data in LAS format from LAStools (http://www.cs.unc.edu/~isenburg/lastools/ ) but without success using gdalinfo and ogrinfo. Even the Python LAS-shapefile converter

  1   2   >