Re: [Qgis-user] Double Labels on a SVG Marker
Hi Dave, Can you be more specific? I tried to reproduce your case but didn't succeed. What kind of data are you using? Points or Lines (with arrow heads)? What version of qgis? What platform. Maybe you can even provide some data and the qml (style)? Kind regards, Raymond On 28-12-2019 21:31, Dave Gardiner wrote: I have a svg marker (an arrow symbol) which when a single label is assigned to display an attribute, the attribute is displayed twice (i.e. displayed at either end). How to I force the display to show the attribute only once please? Regards Dave -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Double Labels on a SVG Marker
I have a svg marker (an arrow symbol) which when a single label is assigned to display an attribute, the attribute is displayed twice (i.e. displayed at either end). How to I force the display to show the attribute only once please? Regards Dave -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] filled polygon error
Hi, Just speculating as I do not know how simplification works but I imagine that only more complex shapes are being simplified. I also imagine that this simplification depends on the zoom level and depends on the total number of vertices in a shape therefore some island would not be filled in. I would expect multipolygons to exhibit this simplification faster than the polygon equivalents because they are more complex. Depending on how files are being exported, some may be exported as polygons or multipolygons depending on file formats. This may be what is happening with the FIX Geometries. I imagine multiSurface may be treated as a mesh by QGIS??? Meshes have been introduced later in QGIS and I suspect it may not use the simplification. This is pure speculation on my part. Bug reporting is done here. https://www.qgis.org/en/site/getinvolved/development/bugreporting.html Nicolas > Le 27 déc. 2019 à 14:43, malcolm a écrit : > > > Maybe a bug report, if so please advise where to submit. > > With simplification turned on, some complex polygons with holes inside get > filled when zoomed out. It does not happen to all the holes, only some of > them. The fill goes away when zoomed way in say at 1:600 (feet) for some, or > 1:50 for others. The layer is a Polygon(MultiPolygon) from Postgres. A view > created from this layer (union of many polygons) that gets created as > Polygon(MultiSurface) does not suffer from this error. > > A temp layer created from FIX Geometries does not exhibit this error, but > when exported to PostGIS and added back to QGIS the error returns. > > -- > Malcolm T Meyer > ___ > Qgis-user mailing list > Qgis-user@lists.osgeo.org > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Python script for QGIS
Hi, Thanks for the code but it doesn’t work :/ ERROR 5: map_11_0_309.tiff: GDALDataset::GetRasterBand(2) - Illegal band # it is quite complex to understand and the help of gdal is not very provided… this is what gdalinfo returns to me For .tiff : gdalinfo map_11_0_309.tiff Driver: GTiff/GeoTIFF Files: map_11_0_309.tiff Size is 256, 256 Coordinate System is: GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.257223563, AUTHORITY["EPSG","7030"]], AUTHORITY["EPSG","6326"]], PRIMEM["Greenwich",0], UNIT["degree",0.0174532925199433], AUTHORITY["EPSG","4326"]] Origin = (-180.000,-18.6328125) Pixel Size = (0.001373291015625,-0.001373291015625) Metadata: AREA_OR_POINT=Area Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left (-180.000, -18.6328125) (180d 0' 0.00"W, 18d37'58.13"S) Lower Left (-180.000, -18.9843750) (180d 0' 0.00"W, 18d59' 3.75"S) Upper Right (-179.6484375, -18.6328125) (179d38'54.38"W, 18d37'58.13"S) Lower Right (-179.6484375, -18.9843750) (179d38'54.38"W, 18d59' 3.75"S) Center (-179.8242188, -18.8085938) (179d49'27.19"W, 18d48'30.94"S) Band 1 Block=256x128 Type=Byte, ColorInterp=Palette Image Structure Metadata: NBITS=2 Color Table (RGB with 4 entries) 0: 60,89,96,255 1: 109,178,200,255 2: 138,193,212,255 3: 161,205,220,255 For the original png : gdalinfo map_11_0_309.png Driver: PNG/Portable Network Graphics Files: map_11_0_309.png Size is 256, 256 Coordinate System is `' Corner Coordinates: Upper Left (0.0,0.0) Lower Left (0.0, 256.0) Upper Right ( 256.0,0.0) Lower Right ( 256.0, 256.0) Center ( 128.0, 128.0) Band 1 Block=256x1 Type=Byte, ColorInterp=Palette Image Structure Metadata: NBITS=2 Color Table (RGB with 4 entries) 0: 60,89,96,255 1: 109,178,200,255 2: 138,193,212,255 3: 161,205,220,255 RGB 59,89,95,255 is missing in this tile Is it possible, via gdal_calc.py, or goal_translate or other program (that I don’t know) to tell him: If, in the color table, RGB 59,89,95,255 AND / OR RGB 60,89,96,255 are present it is necessary to replace them with RGB 255, 255, 255, 255 and all the other entries are to be replaced by RGB 0, 0, 0 , 255 ? which would only make 2 entries in the color table on 1 band. Thanks ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [QGIS-it-user] importare file .h5
Giacomo Fontanelli-2 wrote > sapete come farer per importare file .h5 in qgis 3.10? Ciao Giacomo, con quale versione di QGIS (e GDAL) esattamente hai problemi e su quale sistema operativo? Comunque sono stati riscontrati problemi su Windows: vedi http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-Problems-loading-and-using-GDALinfo-on-hdf5-files-only-on-Windows-td5421777.html e https://github.com/OSGeo/gdal/issues/1428 Si tratta dello stesso problema? A presto. Andrea -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html ___ QGIS-it-user mailing list QGIS-it-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/qgis-it-user