[GRASS-user] use pipe character in a script

2022-03-23 Thread Uwe Fischer
Hello, I try to fill a certain attribute column with a variable plus a Pipe character (|) in a python script: value_to_fillin = myvariable + '|' grass.run_command('v.db.update', map='mymap', column='mycol', value=value_to_fillin) But it does not work. When I try to place there 'xx'

Re: [GRASS-user] how to derive polygons from text strings

2021-12-20 Thread Uwe Fischer
Hello Māris, thanks a lot. That is hard tobacco for a user like me. What do you mean 'ask the same rendering engine'? Is there a chance to get such boxes for a normal user or is it a case for a c++ programmer? Mit freundlichen Grüßen, UWE FISCHER -- Ingenieurbüro Fischer Esbecker Str. 8

[GRASS-user] how to derive polygons from text strings

2021-12-18 Thread Uwe Fischer
Hello list, I have a point feature layer with attributes for a text string (call it 'label') and the fontsize in map units (which are meters in my case). Is there a way in Grass to derive polygons from this input information which enclose the label strings when those are used to label the

[GRASS-user] v.dissolve with singleparts?

2021-04-13 Thread Uwe Fischer
licate. What is the best way to do this? Thanks for help. Mit freundlichen Grüßen, Uwe Fischer ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] v.select incredibly slow

2021-04-13 Thread Uwe Fischer
.3. As far as I can see, there are changes in GDAL/OGR DGN driver in the way that they can also handle DGN V8 now. Maybe it has to do with those changes. But how can I figure that out? Maybe I can ask the friend named Frank Warmerdam who seems to be involved? Mit freundlichen Grüßen, U

Re: [GRASS-user] v.select incredibly slow

2021-04-07 Thread Uwe Fischer
for certain columns, eg. LEVEL. But those cols were created without problems in the old version, so that cannot be the problem. Thanks for help. Mit freundlichen Grüßen, Uwe Fischer -- Ingenieurbüro Fischer Esbecker Str. 8 31036 Eime Tel.: 05182/8325 Mobil: 0172/8876934 Von

Re: [GRASS-user] v.select incredibly slow

2021-03-29 Thread Uwe Fischer
way to do it similar in GRASS? Maybe v.to.lines? Best regards, Uwe -Ursprüngliche Nachricht- Von: Moritz Lennert [mailto:mlenn...@club.worldonline.be] Gesendet: Montag, 29. März 2021 16:22 An: Uwe Fischer ; grass-user@lists.osgeo.org Betreff: Re: AW: [GRASS-user] v.select incredibly s

Re: [GRASS-user] v.select incredibly slow

2021-03-29 Thread Uwe Fischer
or help and best regards, -Ursprüngliche Nachricht- Von: Moritz Lennert [mailto:mlenn...@club.worldonline.be] Gesendet: Sonntag, 28. März 2021 13:50 An: grass-user@lists.osgeo.org; Uwe Fischer Betreff: Re: [GRASS-user] v.select incredibly slow Hi Uwe, Am 27. März 2021 14:58:01 MEZ sch

[GRASS-user] v.select incredibly slow

2021-03-27 Thread Uwe Fischer
Hello list, I have trouble selecting line features using their location compared to a polygon layer using v.select. The line features I want to select from are parcel borders, and the polygon layer is made up of tubular-shaped buffers around municipal borders. I need to find the parcel borders

[GRASS-user] SQL in GRASS

2020-06-02 Thread Uwe Fischer
Hello list, I tried the following expression in a Python script, but it does not work (I need to subtract the lowest value for column "srtmh" from all other values for that item and write the result to column "strmh2"): grass.run_command('v.db.update', map='dgnpt', column='srtmh2',

[GRASS-user] ... getting rid of duplicate polygons ...

2017-02-10 Thread Uwe Fischer
Hello list, I have a question about dealing with duplicate polygons (dp) coming into GRASS from a polygon shapefile. The polygons are not overlapping or having gaps, but there are a number of real duplicate ones (polygons show parcels with owners, and if one parcel has two or more owners, e.

[GRASS-user] ... getting rid of duplicate polygons ...

2017-02-01 Thread Uwe Fischer
Hello list, I have a question about dealing with duplicate polygons (dp) coming into GRASS from a polygon shapefile. The polygons are not overlapping or having gaps, but there are a number of real duplicate ones (polygons show parcels with owners, and if one parcel has two or more owners, e.

Re: [GRASS-user] area calculation after dissolve

2016-07-04 Thread Uwe Fischer
or the single area values. For now, I'll calculate areas in QGIS which does not care about cats. However, thanks again. Best regards, Uwe -Ursprüngliche Nachricht- Von: Moritz Lennert [mailto:mlenn...@club.worldonline.be] Gesendet: Mittwoch, 29. Juni 2016 17:17 An: Uwe Fischer <gisfi..

[GRASS-user] area calculation after dissolve

2016-06-29 Thread Uwe Fischer
I have a polygon dataset which needs to be dissolved by a certain item. That works fine. But when I calculate the area size for the new created Polygons in the next step using v.to.db, I find that the system summarizes all the polygons with the same value in the dissolve item, even if they are

Re: [GRASS-user] setting snap an min_area for v.in.ogr

2016-06-09 Thread Uwe Fischer
for the user to see/to learn if 2 wizards for the same command are existing? In most cases, I'd love to see all options available because my input datasets often require filtering, selecting or setting tolerances. Thank you once more. Mit freundlichen Grüßen, UWE FISCHER -Ursprüngliche

[GRASS-user] setting snap an min_area for v.in.ogr

2016-06-09 Thread Uwe Fischer
Hello List, why are there no input boxes for snap threshold and min_area in the v.in.ogr menu in GRASS 7.0.3? I think those values are important to control the process. On the command line, the values can be entered. Greets, Uwe ___ grass-user

[GRASS-user] v.db.update not working as expected

2016-05-25 Thread Uwe Fischer
I have a dataset of boundaries and centroids where sometimes centroids are missing because of digitizing errors. I tried to create new centroids using v.centroids, but that did not work (please see my message from May 12.) Then I tried to use v.category with options type=area and option=add

[GRASS-user] problems running v.centroids

2016-05-12 Thread Uwe Fischer
GRASS. When I try this, I get the following message: Process ended with non-zero return code 1. See errors in the (error) output. What ist the "(error) output" of a python script and where can I find it? best regards, Uwe Fischer -- ___

[GRASS-user] v.dissolve on multiple items/controlling the output

2016-04-29 Thread Uwe Fischer
Hello list, I have two questions concerning v.dissolve. As far as I can see, there can be only one single column be specified as dissolve item. But I need to dissolve polygons using several items (up to 6) in one stroke. I checked out v.extract, too, hoping that a SQL statement might help me

[GRASS-user] v.clean error map for dangles

2016-04-04 Thread Uwe Fischer
Hello list, v.clean has an option to write out an error map to save the faulty features. In case of the rmdangle option, the whole linear element is written out to the error map. Is there a way to save the coordinates of the exact point at which the dangle error resides instead? In my case,

[GRASS-user] Newbie questions about GRASS data model details

2016-03-19 Thread Uwe Fischer
Hello all, I'm quite new to GRASS (coming from ESRI and MicroStation) and have two questions concerning the vector data model. I've read GRASS Wikis, manuals and other docs from the web, but I could not find comprehensive answers yet. Sorry for the long text ... :-) First question: how are

Re: [GRASS-user] v.in.ogr in Python Grass script

2016-03-04 Thread Uwe Fischer
m...@pik-potsdam.de] Gesendet: Donnerstag, 3. März 2016 17:14 An: grass-user@lists.osgeo.org Cc: Uwe Fischer <gisfi...@t-online.de> Betreff: Re: v.in.ogr in Python Grass script Hi Uwe, I can really only speak for GRASS7 (and I would almost say this is the way to go). You'll need to give us a work

[GRASS-user] v.in.ogr in Python Grass script

2016-03-03 Thread Uwe Fischer
nu command in 6.4.4 works fine. That's confusing to me. Mit freundlichen Grüßen, UWE FISCHER -Ursprüngliche Nachricht- Von: grass-user [mailto:grass-user-boun...@lists.osgeo.org] Im Auftrag von grass-user-requ...@lists.osgeo.org Gesendet: Donnerstag, 3. März 2016 14:31 An:

[GRASS-user] v.in.ogr in Python script not working

2016-03-03 Thread Uwe Fischer
Hello, I' new to this list and this is my first question. I try to develop a script that is able to import CAD files (MicroStation DGN) into a grass mapset. First, I tried the command v.in.ogr in the menu system and everything works fine. The result is exactly as desired. Then, I tried to