Bienvenue! Inscrivez-vous et rejoignez notre communauté :)
  • Login:

Bienvenue sur Forum SIG - Systèmes d'Information Géographique et Géomatique.

Bienvenue sur le forumSIG. S'il s'agit de votre première visite, assurez vous de faire une recherche préalable dans les FAQ SIG. Vous devez vous inscrire avant de pouvoir poster.

Affichage des résultats 1 à 3 sur 3
  1. #1

    Date d'inscription
    octobre 2008
    Messages
    187

    Par défaut Problème algorithme GDAL/ORG

    Bonjour,

    je viens d'installer QGIS 2.18 sur un MAC OSX SIERRA, et je me trouve avec un problème sur la "boite à outils de traitement" les algorithmes de GDAL/OGR ne fonctionne plus.
    lors d'un teste, j'ai créé un polygone au pour actionner l'algorithme GDAL/ORG "Tampon des vecteurs" et me m'indique cette erreur ci dessous.
    Je n'arrive pas à comprendre ce qu'il manque.

    à bientôt



    Algorithm Buffer vectors starting...GDAL command:
    ogr2ogr "/var/folders/1m/2lg7b_9d25q87s6wtpcv4s0c0000gn/T/processinge00d94ff2ab74b11b5b99f029a5492b2/62780d2b6ef94812847b0b49eea86e5f/OUTPUTLAYER.shp" /var/folders/1m/2lg7b_9d25q87s6wtpcv4s0c0000gn/T/processinge00d94ff2ab74b11b5b99f029a5492b2/1502635428.095.shp invalid-uri -dialect sqlite -sql "SELECT ST_Buffer( geometry , 100 ),* FROM 'invalid-uri' "
    GDAL command output:
    Warning 1: layer names ignored in combination with -sql.
    ERROR 1: In ExecuteSQL(): sqlite3_prepare(SELECT ST_Buffer( geometry , 100 ),* FROM 'invalid-uri' ):
    no such table: invalid-uri
    Warning 1: layer names ignored in combination with -sql.
    ERROR 1: In ExecuteSQL(): sqlite3_prepare(SELECT ST_Buffer( geometry , 100 ),* FROM 'invalid-uri' ):
    no such table: invalid-uri
    Warning 1: layer names ignored in combination with -sql.
    ERROR 1: In ExecuteSQL(): sqlite3_prepare(SELECT ST_Buffer( geometry , 100 ),* FROM 'invalid-uri' ):
    no such table: invalid-uri
    Warning 1: layer names ignored in combination with -sql.
    ERROR 1: In ExecuteSQL(): sqlite3_prepare(SELECT ST_Buffer( geometry , 100 ),* FROM 'invalid-uri' ):
    no such table: invalid-uri
    Warning 1: layer names ignored in combination with -sql.
    ERROR 1: In ExecuteSQL(): sqlite3_prepare(SELECT ST_Buffer( geometry , 100 ),* FROM 'invalid-uri' ):
    no such table: invalid-uri
    Warning 1: layer names ignored in combination with -sql.
    ERROR 1: In ExecuteSQL(): sqlite3_prepare(SELECT ST_Buffer( geometry , 100 ),* FROM 'invalid-uri' ):
    no such table: invalid-uri


    Tried 5 times without success. Last iteration stopped after reading 4 line(s). Last line(s): GDAL execution console output Warning 1: layer names ignored in combination with -sql. ERROR 1: In ExecuteSQL(): sqlite3_prepare(SELECT ST_Buffer( geometry , 100 ),* FROM 'invalid-uri' ): no such table: invalid-uri See log for more details

  2. #2

    Date d'inscription
    octobre 2008
    Messages
    187

    Par défaut Re : Problème algorithme GDAL/ORG

    Bonjour
    J'ai installer QGIS 2.18.0 et en faisant un teste de "buffer" sur un polygone avec l'aide de géotraiment.
    je trouve ces erreurs

    GRASS:

    Démarrage de l'algorithme v.buffer.distance - Creates a buffer around features of given type. ...
    g.proj -c proj4="+proj=lcc +lat_1=41.25 +lat_2=42.75 +lat_0=42 +lon_0=3 +x_0=1700000 +y_0=1200000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs"
    v.in.ogr min_area=0.0001 snap=-1 input="/Users/david/Desktop" layer=Sans titre output=tmp1502905468136 --overwrite -o
    g.region n=-3799038.88184 s=-3908654.8145 e=1371943.86393 w=1149987.90201 res=100
    v.buffer input=tmp1502905468136 distance="100" tolerance="0.01" output=outputf5a0a72233ee4d70a4021bcef50798ec --overwrite
    v.out.ogr -s -e input=outputf5a0a72233ee4d70a4021bcef50798ec type=auto output="/var/folders/sv/7tjl3_rs4wv_mf6tg0_s7sxr0000gn/T/processing305adf5ff79e463d9869f7cbc36e15e2/bc790bf816dd47db8a3692b7ad647c51" format=ESRI_Shapefile output_layer=output --overwrite
    WARNING: Default locale settings are missing. GRASS running with C locale.
    Starting GRASS GIS...
    Executing '/Users/david/.qgis2//processing/grass7_batch_job.sh' ...
    Default region was updated to the new projection, but if you have multiple mapsets `g.region -d` should be run in each to update the region from the default
    Projection information updated

    Description:
    Imports vector data into a GRASS vector map using OGR library.

    Keywords:
    vector, import, OGR

    Usage:
    v.in.ogr [-flc2tojrewi] input=string [layer=string[,string,...]]
    [output=name] [spatial=xmin,ymin,xmax,ymax[,xmin,ymin,xmax,ymax,...]]
    [where=sql_query] [min_area=value] [type=string[,string,...]]
    [snap=value] [location=name] [columns=name[,name,...]]
    [encoding=string] [key=string] [geometry=name] [--overwrite] [--help]
    [--verbose] [--quiet] [--ui]

    Flags:
    -f List supported OGR formats and exit
    -l List available OGR layers in data source and exit
    -c Do not clean polygons (not recommended)
    -2 Force 2D output even if input is 3D
    Useful if input is 3D but all z coordinates are identical
    -t Do not create attribute table
    -o Override dataset projection (use location's projection)
    -j Perform projection check only and exit
    -r Limit import to the current region
    -e Extend region extents based on new dataset
    Also updates the default region if in the PERMANENT mapset
    -w Change column names to lowercase characters
    -i Create the location specified by the "location" parameter and exit. Do not import the vector data.
    --o Allow output files to overwrite existing files
    --h Print usage summary
    --v Verbose module output
    --q Quiet module output
    --ui Force launching GUI dialog

    Parameters:
    input OGR datasource name
    Examples:
    ESRI Shapefile: directory containing shapefiles
    MapInfo File: directory containing mapinfo files
    layer OGR layer name. If not given, all available layers are imported
    Examples:
    ESRI Shapefile: shapefile name
    MapInfo File: mapinfo file name
    output Name for output vector map
    spatial Import subregion only
    Format: xmin,ymin,xmax,ymax - usually W,S,E,N
    where WHERE conditions of SQL statement without 'where' keyword
    Example: income = 10000
    min_area Minimum size of area to be imported (square meters)
    Smaller areas and islands are ignored. Should be greater than snap^2
    default: 0.0001
    type Optionally change default input type
    options: point,line,boundary,centroid
    default:
    point: import area centroids as points
    line: import area boundaries as lines
    boundary: import lines as area boundaries
    centroid: import points as centroids
    snap Snapping threshold for boundaries (map units)
    '-1' for no snap
    default: -1
    location Name for new location to create
    columns List of column names to be used instead of original names, first is used for category column
    encoding Encoding value for attribute data
    Overrides encoding interpretation, useful when importing ESRI Shapefile
    key Name of column used for categories
    If not given, categories are generated as unique values and stored in 'cat' column
    geometry Name of geometry column
    If not given, all geometry columns from the input are used

    ERROR: Sorry is not a valid option
    ERROR: Vector map not found
    ERROR: Vector map not found
    Execution of '/Users/david/.qgis2//processing/grass7_batch_job.sh' finished.
    Cleaning up temporary files...
    WARNING: Default locale settings are missing. GRASS running with C locale.
    Starting GRASS GIS...
    Executing '/Users/david/.qgis2//processing/grass7_batch_job.sh' ...
    ERROR: Vector map not found
    Execution of '/Users/david/.qgis2//processing/grass7_batch_job.sh' finished.
    Cleaning up temporary files...
    Converting outputs
    Charger les couches de résultat

    The following layers were not correctly generated.
    Buffer
    You can check the log messages to find more information about the execution of the algorithm

    Chez GDAL/ORG

    Algorithm Buffer vectors starting...
    GDAL command:
    ogr2ogr "/var/folders/sv/7tjl3_rs4wv_mf6tg0_s7sxr0000gn/T/processing305adf5ff79e463d9869f7cbc36e15e2/ec0ebe0095d14c2f9ef66504abd93211/OUTPUTLAYER.shp" "/var/folders/sv/7tjl3_rs4wv_mf6tg0_s7sxr0000gn/T/processing305adf5ff79e463d9869f7cbc36e15e2/1502905541.459.shp" '1502905541.459' -dialect sqlite -sql "SELECT ST_Buffer( geometry , 1000 ),* FROM "'1502905541.459'" "
    GDAL command output:
    Warning 1: layer names ignored in combination with -sql.
    ERROR 1: Cannot open datasource '1502905541'
    Converting outputs
    Charger les couches de résultat

    The following layers were not correctly generated.
    Tampon
    You can check the log messages to find more information about the execution of the algorithm
    Chez géo traitement de QGIS (buffer)

    cela marche


    Pour le composer toujours pareil il plante, même sous Yosemite sans message d'erreur,

    Que pensez-vous des ces erreurs, est-ce que cela te parle? cela vient de GDAL, Python.... ?

    je vous remercie
    à bientôt

  3. #3

    Date d'inscription
    octobre 2008
    Messages
    187

    Par défaut Re : Problème algorithme GDAL/ORG

    Bonjour,

    je viens de trouvé u sujet avec la même problématique https://www.tutel.me/c/gis/questions...uoterror+1quot
    mais ils ne disent pas comment faire pour réparer

 

 

Discussions similaires

  1. [QGIS 2.x] probleme de fonctionnement de GDAL
    Par remi_chairat dans le forum Assistance et Programmation
    Réponses: 2
    Dernier message: 02/08/2017, 11h03
  2. [QGIS 1.x] Problème avec Gdal
    Par boury dans le forum Assistance et Programmation
    Réponses: 15
    Dernier message: 20/04/2011, 19h55
  3. [GDAL] Problème de compilation du GDAL
    Par Amel_usto_SIG dans le forum Assistance et Programmation
    Réponses: 0
    Dernier message: 21/12/2008, 11h14
  4. [GDAL 2.x] Problème de fusion
    Par Ted dans le forum Assistance et Programmation
    Réponses: 0
    Dernier message: 20/08/2008, 09h55
  5. [GDAL] Problème de GeoTIFF
    Par Ted dans le forum Assistance et Programmation
    Réponses: 0
    Dernier message: 10/04/2008, 07h54

Liens sociaux

Règles de messages

  • Vous ne pouvez pas créer de nouvelles discussions
  • Vous ne pouvez pas envoyer des réponses
  • Vous ne pouvez pas envoyer des pièces jointes
  • Vous ne pouvez pas modifier vos messages
  •