Coder Social home page Coder Social logo

fragscape's People

Contributors

mathieuchailloux avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

fragscape's Issues

Results processing error : data source creation failed

reportError : Impossible de créer la couche D:/Projets/Meff/Tests/Herault_CLC/tmp/res_source_clipped.gpkg : La création de la source de données a échoué (Erreur OGR : A file system object called 'D:/Projets/Meff/Tests/Herault_CLC/tmp/res_source_clipped.gpkg' already exists.)

Temporary layers of Results step are not well generated (same names).

Workaround : uncheck Save temporary layers in Parameters tab

TODO: use unique names

Coherence increases despite increasing fragmentation

Hi,
More a question than an issue.
Using the CBC method it occurs in some cases that the coherence (or rather probability) is lower for less fragmented scenarios than for more fragmented. Calculating the coherence for a 0-Case scenario without any roads the result is:

nb_patches: 3
reportarea: 100000000
intersecting: 6516029,456
effective mesh size: 44663524,28
coherence: 0,010697887

in compare to the scenario with roads

nb_patches: 8
reportarea: 100000000
intersecting: 6460566,108
effective mesh size: 5801795,57
coherence: 0,011004789

How is this possible? Maybe I don't get the maths behind it?
Hope you can help me out here.

Greetings
HK

Erreur fichier CSV occupation du sol

Bonjour,
Il met impossible de charger mon fichier CSV dans FragScape après l'avoir modifié avec "true" et "false". J'ai un message d'erreur qui apparait :
[Unexpected error] -------------------------------------------------------------------------------- UnicodeDecodeError : 'utf-8' codec can't decode byte 0xe8 in position 142: invalid continuation byte
J'ai pourtant regardé le tuto youtube et tout me semble correspondr.
https://ibb.co/W2H0Zz2
https://ibb.co/tcZHr3Z

Cordialement,
Léa HELLEGOUARCH

Error: Algorithm FragScape:prepareLanduse not found

Hi,
I've been trying to execute the tool FragScape on a agricultural land in a Swedish region, but I cannot get the second step to work. When I try to launch the selection in 2. Land Cover, I get the following error message:

Algorithm FragScape:prepareLanduse not found
Error

Does anyone know what is wrong and why the landuse is not found?

Please add doc sources

Please use for documentation the same approach QGIS uses (rst text files, compiled as html and/or pdf). This has a number of advantages, also for further traansltions.
Thanks.

Ajout de données en mode raster

Bonjour,

après Biodispersal je viens vous solliciter pour Fragscape ! ^^

J'ai un soucis avec le mode raster. L'étape 3 en mode raster soustrait les éléments fragmentants au lieu de les ajouter...

Je reprends par étape.

Je paramètre l'espace de travail.
000a

A partir du raster CESBIO 2019
000b

Je discrimine les zones naturelles et les espaces fragmentants.
001a

J'obtiens bien un fichier landuseSelectionWarp conforme à mes attentes.
001b

J'utilise des shapefiles qui me servent pour Biodispersal afin d'ajouter les réseaux routiers
002a

Impossible car, quelque soit le vecteur proposé, j'ai toujours une erreur
002b

Donc je réutilise les rasters Réseaux routiers générés par Biodispersal
002c

La concaténation génère un fichier erroné, le réseau routier a été soustrait du raster landuseSelectionWarp . Par exemple, l'autoroute a partiellement disparu ici.
003

J'ai essayé en ajoutant le réseau routier au élément naturel mais j'obtiens le même résultat !?
Bug ou je fais un truc de travers ?

Merci par avance pour votre aide !

Guillaume

Error

I report this error when executing. Could you help me to solve it please?
Traceback (most recent call last): File"C:/Users/MS/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\FragScape\algs\FragScape_algs.py", line 647, in processAlgorithm raise QgsProcessingException("Empty reporting area") _core.QgsProcessingException: Empty reporting area

Calcul de la maille effective méthode CBC

Bonjour,
j'utilise l'extension depuis un moment et j'ai voulu comparer les résultats avec ceux que j'obtenais manuellement avec des intersections de couches sous arcmap et les traitements stats sous access. J'avais développé ces outils moi-même avant de découvrir Fragscape.

J'ai qlq soucis à ce sujet. Autant pour la méthode CUT, j'obtiens les mêmes résultats. Autant pour la méthode CBC, je ne trouve les mêmes résultats que dans des cas particuliers. Ex: un polygone naturel, seul et totalement inclus dans une unité de rapportage, dans ce cas CUT = CBC et on a tous les deux les mêmes résultats.

J'ai donc repris l'article de Moser (https://www.researchgate.net/publication/227155942_Modification_of_the_effective_mesh_size_for_measuring_landscape_fragmentation_to_solve_the_boundary_problem) et j'ai repris l'exemple ligne 192 figure 1.

J'ai reproduit le schéma de test (dispo ici : https://we.tl/t-OkJb5Shxef) et pour l'unité R1 je trouve 31,7714285714286 avec ma méthode.
Avec Fragscape, je trouve 95,19983 km² (et 23,19 avec la méthode CUT ce qui est bon).

Avez-vous un jeu de données de références afin de tester les deux process ?
Merci à vous !

Guillaume Bertho

Wrong field type for fid

Bonjour,

Après avoir chargé avec succès un shapefile d'occupation du sol et plusieurs shapefiles de données complémentaires, je tente de calculer les indicateurs à partir du GeoPackage landuseFragSingleGeom créé par FragScape.
Cependant, j'obtiens une erreur "Wrong field type for fid" lors de la création de la couche reportingSelection0.gpkg.

Comme je l'ai lu sur une autre issue, je sauvegarde à nouveau le GeoPackage en supprimant le champ fid.
Cependant, une fois ce champ supprimé, j'obtiens toujours cette erreur.

Qu'ai-je mal fait ? Ma couche landuseFragSingleGeom est trop lourde pour être jointe sur GitHub mais je peux vous l'envoyer par mail.

Merci !

Error: found non-noded intersection between LINESTRING

Could you help me with this issue?
By computing the fragmentation step this error occurs:

[internal error] reportError : GEOS-processing error: Differenz gescheitert.. TopologyException: found non-noded intersection between LINESTRING (4.15488e+06 2.76965e+06, 4.15491e+06 2.76968e+06) and LINESTRING (4.15485e+06 2.76962e+06, 4.15491e+06 2.76968e+06) at 4154908.9316633195 2769675.1454799455

to mention: I processed the exact same operation but with a smaller buffer before and it worked. So the Question is, how can I dissolve intersecting buffers of two or more different (road) lanes, given as lines (not as polygons)

And also:
After I computed a first constellation, a second run doesn’t work. This error occurs:

[info] Setting extent CRS to ETRS89 / LAEA Europe
[info] Workspace directory set to '/Users/dosomething/Documents/MA/GIS_MA
[info] Outputs directory set to '/Users/dosomething/Documents/MA/GIS_MA
[info] Temporary directory set to '/Users/dosomething/Documents/MA/GIS_MA/tmp
[warn] No layer selected
[info] FragScape model saved into file '/Users/dosomething/Documents/MA/GIS_MA/2019_Frag_50015.xml'
[info] FragScape model saved into file '/Users/dosomething/Documents/MA/GIS_MA/2019_Frag_50015.xml'
[info] ******** BEGIN : Landuse classification
[info] Calling processing algorithm 'FragScape:prepareLanduse'
[internal error] reportError : Error: Algorithmen FragScape:prepareLanduse not found
[warn] Failed to call prepareLanduse : reportError : Error: Algorithmus FragScape:prepareLanduse not found

By saving the file and restarting QGIS the exact same operation works.

I am looking forward to your response.
LG
HK

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.