This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
*************************************************************************** | |
camera_calculator.py | |
--------------------- | |
Date : August 2019 | |
Copyright : (C) 2019 by Luigi Pirelli | |
Email : luipir at gmail dot com | |
*************************************************************************** | |
* * | |
* This program is free software; you can redistribute it and/or modify * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2019-09-20 11:21:26,122 uamqp.receiver INFO Received Link detach event: b'amqp:link:detach-forced' | |
Link: b'receiver-link-5cb0a0ba-bbab-411c-819f-110bbea40add' | |
Description: b"The link 'G26:34611229:receiver-link-5cb0a0ba-bbab-411c-819f-110bbea40add' is force detached by the broker due to errors occurred in consumer(link14926311). Detach origin: InnerMessageReceiver was closed. TrackingId:b6bf33280011000100e3c1e75d849a0c_G26_B8, SystemTracker:primare-desa-service-bus:Topic:primare_desa_topic_initplanification|proyestegal_initplanification_suscriber, Timestamp:2019-09-20T09:21:26" | |
Details: None | |
Retryable: True | |
Connection: b'SBReceiver-63f1aa5a-3d35-4049-95e8-47703b3a93aa' | |
2019-09-20 11:21:26,122 uamqp.c_uamqp DEBUG Deallocating cError | |
2019-09-20 11:21:26,123 uamqp.receiver INFO Message receiver b'receiver-link-5cb0a0ba-bbab-411c-819f-110bbea40add' state changed from <MessageReceiverState.Open: 2> to <MessageReceiverState.Error: 4> on connection: b'SBReceiver-63f1aa5a-3d35-4049-95e8-47703b3a93aa' | |
2019- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from xml.etree import cElementTree as ElementTree | |
from osgeo import gdal | |
imgpath = '???????????<put the image path here>????????????' | |
############################################### | |
# XML to dict parsing code get from: | |
# https://stackoverflow.com/questions/2148119/how-to-convert-an-xml-string-to-a-dictionary | |
class XmlListConfig(list): | |
def __init__(self, aList): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## | |
## Tested on: Ubuntu 18.04 & ECW 5.4 & GDAL 2.3.1 | |
## | |
## Download the ERDAS ECW JP2 SDK v5.4 Linux | |
## https://download.hexagongeospatial.com/downloads/ecw/erdas-ecw-jp2-sdk-v5-4-linux | |
## Download GDAL v2.3 Source (ex. 2.3.1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16:46 $ ctest -V -R PyQgsDBManagerGpkg | |
UpdateCTestConfiguration from :/home/ginetto/PROGRAMMING/QGIS/QGIS-master/build/DartConfiguration.tcl | |
Parse Config file:/home/ginetto/PROGRAMMING/QGIS/QGIS-master/build/DartConfiguration.tcl | |
Add coverage exclude regular expressions. | |
Add coverage exclude: /CMakeFiles/CMakeTmp/ | |
Add coverage exclude: .*/Testing/Utilities/.* | |
Add coverage exclude: .*/Utilities/.* | |
Add coverage exclude: .*/Code/Wrappers/SWIG/otbApplicationPYTHON_wrap.* | |
Add coverage exclude: .*/Code/Wrappers/SWIG/otbApplicationJAVA_wrap.* | |
SetCTestConfiguration:CMakeCommand:/usr/bin/cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Template function file. Define new functions using @qgsfunction. | |
When using args="auto" you may define a new variable for each value for the function. | |
feature and parent must always be the last args. | |
To pass a any number of args into a function use args=-1 the first | |
variable will then be a list of values. | |
""" | |
from qgis.core import * | |
from qgis.gui import * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" xmlns:se="http://www.opengis.net/se"> | |
<NamedLayer> | |
<se:Name>formapuntuale</se:Name> | |
<UserStyle> | |
<se:Name>formapuntuale</se:Name> | |
<se:FeatureTypeStyle> | |
<se:Rule> | |
<se:Name>2020</se:Name> | |
<se:Description> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<StyledLayerDescriptor xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd" xmlns:se="http://www.opengis.net/se"> | |
<NamedLayer> | |
<se:Name>formapuntuale</se:Name> | |
<UserStyle> | |
<se:Name>formapuntuale</se:Name> | |
<se:FeatureTypeStyle> | |
<se:Rule> | |
<se:Name>2020</se:Name> | |
<se:Description> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
since time, but only now I had time to clean align master code, I have this glic error on exit QGIS master: | |
*** glibc detected *** /mnt/data/PROGRAMMING/Quantum-GIS-master/build-master/output/bin/qgis: corrupted double-linked list: 0x000000000342d700 *** | |
in this case log is referred to qgis 5f5cd4c | |
I attach my compilation parameters... because I think it could be related. Other aligned branches don't present this error. | |
. | |
[cut] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/core/qgsmaplayer.cpp: 115: (name) returning name 'test_lwgeom' | |
src/core/qgsscalecalculator.cpp: 48: (mapUnits) Map units returned as 2 | |
src/core/qgsscalecalculator.cpp: 48: (mapUnits) Map units returned as 2 | |
src/core/qgsscalecalculator.cpp: 48: (mapUnits) Map units returned as 2 | |
src/core/qgsscalecalculator.cpp: 48: (mapUnits) Map units returned as 2 | |
src/providers/ogr/qgsogrprovider.cpp: 2142: (crs) Entering. | |
src/core/qgscoordinatereferencesystem.cpp: 428: (createFromWkt) wkt: GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]] | |
src/core/qgscoordinatereferencesystem.cpp: 449: (createFromWkt) authid recognized as EPSG:4326 | |
src/core/qgscoordinatereferencesystem.cpp: 320: (loadFromDb) load CRS from /tmp/srs.db where lower(auth_name||':'||auth_id) is epsg:4326 | |
src/core/qgscoordinatereferencesystem.cpp: 1361: (o |
NewerOlder