<div dir="ltr">In the r.futures.potential command you have some of the column names incorrect:<div>developed_column=urban_change_clip1@IKNmapset subregions_column=Subregions_IKN@IKNmapset<br></div><div><br></div><div>Remove the @mapset part, that should do it.</div><div><br></div><div>Please 'reply to all' to keep the conversation on the mailing list.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Feb 8, 2021 at 5:16 AM Tom Hackbarth <<a href="mailto:txhackbarth@gmail.com">txhackbarth@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Anna, <div><br></div><div>thank you for the reply!</div><div><br></div><div>The results of v.db.select are attached in the .txt file.</div><div><br></div><div><a href="http://v.info" target="_blank">v.info</a> gives me the following information:</div><div> +----------------------------------------------------------------------------+<br> | Name: sampling3 |<br> | Mapset: IKNmapset |<br> | Location: newLocation |<br> | Datenbank: C:\Users\txhac\Documents\Uni\Master\Master Thesis\grassda |<br> | Titel: Output from v.patch |<br> | Maßstab: 1:1 |<br> | Name des Erzeugers:txhac |<br> | Organisation: |<br> | Quelldatum: Sat Feb 06 15:55:09 2021 |<br> | Timestamp (first layer): none |<br> |----------------------------------------------------------------------------|<br> | Kartenformat: native |<br> |----------------------------------------------------------------------------|<br> | Kartenart:: Vektor (level: 2) |<br> | |<br> | Anzahl der Punkte: 6000 Anzahl der Zentroide: 0 |<br> | Anzahl der Linien: 0 Anzahl der Grenzen: 0 |<br> | Anzahl der Flächen: 0 Anzahl der Inseln: 0 |<br> | |<br> | Map is 3D: No |<br> | Anzahl der dblinks: 1 |<br> | |<br> | Projektion: UTM (Zone 50S) |<br> | |<br> | N: 9928525 S: 9858735 |<br> | E: 529655 W: 447765 |<br> | |<br> | Digitalisierungs-Schwellwert:: 0 |<br> | Kommentar: |<br> | |<br> +----------------------------------------------------------------------------+<br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Am Mo., 8. Feb. 2021 um 04:39 Uhr schrieb Anna Petrášová <<a href="mailto:kratochanna@gmail.com" target="_blank">kratochanna@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hi,</div><div><br></div><div>that would indicate some issue with your sampling3 vector. Could you post here the output of <a href="http://v.info" target="_blank">v.info</a> sampling3 and v.db.select sampling3?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Feb 7, 2021 at 5:06 AM Tom Hackbarth <<a href="mailto:txhackbarth@gmail.com" target="_blank">txhackbarth@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear all,<div><br></div><div>anyone ever had problems with opening the select-cursor. I do not know what the problem is and tried to change input parameters several times, but whenever I want to run r.futures.potential, I get the same error message: <font color="#ff0000">unable to open select-cursor</font>.</div><div><br></div><div>If anybody ever had similar problems and knows how to deal with it, I would be very happy if you would share the solution with me. Or is there anyone who might have some ideas on how to fix this?</div><div><br></div><div>Thanks already in advance! </div><div><br></div><div>The error message can be seen at the end of this mail.</div><div><br></div><div>Best regards</div><div><br></div><div>Tom</div><div><br></div><div><br></div><div><br></div><div>r.futures.potential --overwrite input=sampling3@IKNmapset output=potential.csv columns=devpressure_02_24,road_dens_perc,forest_smooth_perc,dist_roads_km,dist_to_forests_km,dist_to_urbancore_km,dist_waterbodies_km developed_column=urban_change_clip1@IKNmapset subregions_column=Subregions_IKN@IKNmapset<br><font color="#ff0000">ERROR: Kann den Select-Cursor nicht öffnen.</font><br>Traceback (most recent call last):<br> File "C:\Users\txhac\AppData\Roaming\GRASS7\addons/scripts<br>/<a href="http://r.futures.potential.py" target="_blank">r.futures.potential.py</a>", line 221, in <module><br> sys.exit(main())<br> File "C:\Users\txhac\AppData\Roaming\GRASS7\addons/scripts<br>/<a href="http://r.futures.potential.py" target="_blank">r.futures.potential.py</a>", line 168, in main<br> columns="distinct {level}".format(level=level)).strip()<br> File "D:\Programme\apps\grass\grass78\etc\python\grass\scr<br>ipt\core.py", line 503, in read_command<br> return handle_errors(returncode, stdout, args, kwargs)<br> File "D:\Programme\apps\grass\grass78\etc\python\grass\scr<br>ipt\core.py", line 343, in handle_errors<br> returncode=returncode)<br>grass.exceptions.CalledModuleError: Module run None<br>v.db.select -c map=sampling3@IKNmapset columns=distinct<br>Subregions_IKN@IKNmapset ended with error<br>Process ended with non-zero return code 1. See errors in the<br>(error) output.<br>(Sun Feb 7 11:00:09 2021) Befehl ausgeführt (0 Sek) <br></div></div>
_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org" target="_blank">grass-user@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/grass-user</a><br>
</blockquote></div></div>
</blockquote></div>
</blockquote></div>