Re: [gdal-dev] unable to export Mapinfo text geom- style always symbol

2022-08-01 Thread Rahkonen Jukka
Hi, I can reproduce the issue with ogr2ogr and this csv file “ogr_styletest.csv”: wkt,OGR_STYLE "POINT (1 3)","LABEL(t:""TT"",a: 0,c:#ff)" Check what we have: ogrinfo ogr_styletest.csv -al OGRFeature(ogr_styletest):1 wkt (String) = POINT (1 3) OGR_STYLE (String) = LABEL(t:"TT",a: 0,c:#00

[gdal-dev] [Gdal-dev] unable to export Mapinfo text geom- style always symbol

2022-08-01 Thread prashanti seri
> Hi all, > We are exporting a "TextPointGeometry" type feature using GDAL MapInfo > driver. Below is the pseudo code - > > Driver mapInfoFileDriver = Ogr.GetDriverByName("MapInfo File"); > ... > Feature mapInfoFeature = CreateFeature(featureData[i].Geometry, > mapInfolayer, featureData[i].SpatialR

Re: [gdal-dev] How to read a PGeo source file using GDAL 2.4

2022-08-01 Thread Nyall Dawson
On Wed, 27 Jul 2022 at 23:36, andy wrote: > > Hi, > I have compiled GDAL to enable PGeo, and now I have it in --formats. > > But if I run "ogrinfo PGeo:input.mdb", I have > > ERROR 1: PGeo: MDB Tools driver not found! > Warning 1: Unable to install MDB driver for ODBC, MDB access may not > suppor

Re: [gdal-dev] gdal_translate wmts.xml wmts.tif: 0ERROR 4: ./gdalwmscache\xyz: No such file or directory; ERROR 1: GDALWMS: Unable to open downloaded block.

2022-08-01 Thread Helmut Kudrnovsky
Rahkonen Jukka:   >So the error seems to be due to error in GetCapabilities that claims that zoom >level 20 is supported. You can get image data by selecting the zoom >level >manually with an open option "zoom_level". >gdal_translate bmortho77.xml bmortho77.tif -oo zoom_level=12 --debug on than

Re: [gdal-dev] gdal_translate wmts.xml wmts.tif: 0ERROR 4: ./gdalwmscache\xyz: No such file or directory; ERROR 1: GDALWMS: Unable to open downloaded block.

2022-08-01 Thread Rahkonen Jukka
Hi, You will get error with QGIS as well if you zoom till level 20. You can see the requests that QGIS creates by opening the debug window with function key 12. Here is one that fails. https://maps.wien.gv.at/basemap/bmaporthofoto30cm/normal/google3857/20/366500/566302.jpeg Level 19 works https

[gdal-dev] gdal_translate wmts.xml wmts.tif: 0ERROR 4: ./gdalwmscache\xyz: No such file or directory; ERROR 1: GDALWMS: Unable to open downloaded block.

2022-08-01 Thread Helmut Kudrnovsky
Hi GDAL community, I have an GDAL_WMTS XML file containing the information for: https://www.basemap.at/wmts/1.0.0/WMTSCapabilities.xmlbmaporthofoto30cmnormalgoogle385710719646000873107344559993854true204,404true When I'm opening the xml file in QGIS, the correct tile defined above in the XML wi

Re: [gdal-dev] New behaviour of "PROMOTE_TO_MULTI" ?

2022-08-01 Thread Even Rouault
Bo Victor, there's an important mention in the email you quote: "The effect of this option is that when a layer is of type Polygon, it will be converted in the target format as MultiPolygon,".    In your situation, the original layer geometry type is Geometry. There's no way that -nlt promote_