Re: [GRASS-user] Datum not recognized by Grass
> ignore the warning and use GRASS with PROJ6, granted that authority name (e.g. EPSG) and authority code (e.g. 2932) are known for both CRS's in case of reprojection this issue is already by GRASS with PROJ6, see GRASS version: 7.8.1 Code revision: c865432c9 Build date: 2019-11-10 Build platform: x86_64-w64-mingw32 GDAL: 3.0.2 PROJ: 6.2.1 <= GEOS: 3.8.0 SQLite: 3.29.0 Python: 3.7.0 wxPython: 4.0.7 Platform: Windows-10-10.0.18362-SP0 (OSGeo4W) and the output from the underlying PROJ: 6.2.1 C:\>projinfo EPSG:2932 -o PROJ,WKT2_2018 PROJ.4 string: +proj=tmerc +lat_0=24.45 +lon_0=51.21667 +k=0.9 +x_0=20 +y_0=30 +ellps=intl +towgs84=-119.4248,-303.65872,-11.00061,1.164298,0.174458,1.096259,3.657065 +units=m +no_defs +type=crs WKT2_2018 string: PROJCRS["QND95 / Qatar National Grid", BASEGEOGCRS["QND95", DATUM["Qatar National Datum 1995", ELLIPSOID["International 1924",6378388,297, LENGTHUNIT["metre",1]]], PRIMEM["Greenwich",0, ANGLEUNIT["degree",0.0174532925199433]], ID["EPSG",4614]], CONVERSION["Qatar National Grid", METHOD["Transverse Mercator", ID["EPSG",9807]], PARAMETER["Latitude of natural origin",24.45, ANGLEUNIT["degree",0.0174532925199433], ID["EPSG",8801]], PARAMETER["Longitude of natural origin",51.21667, ANGLEUNIT["degree",0.0174532925199433], ID["EPSG",8802]], PARAMETER["Scale factor at natural origin",0.9, SCALEUNIT["unity",1], ID["EPSG",8805]], PARAMETER["False easting",20, LENGTHUNIT["metre",1], ID["EPSG",8806]], PARAMETER["False northing",30, LENGTHUNIT["metre",1], ID["EPSG",8807]]], CS[Cartesian,2], AXIS["(E)",east, ORDER[1], LENGTHUNIT["metre",1]], AXIS["(N)",north, ORDER[2], LENGTHUNIT["metre",1]], USAGE[ SCOPE["unknown"], AREA["Qatar - onshore"], BBOX[24.55,50.69,26.2,51.68]], ID["EPSG",2932]] >The problem is that GRASS still assumes datum transformation from X to WGS84, whereas with PROJ6, >WGS84 is no longer required as pivot datum. Datum transformations from datum X to datum Y can >sometimes (often) be done without going through WGS84. The requirement is to have EPSG or other >authority codes and to use PROJ 6. this warning is just from a simple v.in.ogr of a EPSG:2932-based shapefile into a EPSG:2932-created GRASS location. so, there may be some more adaptions needed for actions like v.in.ogr and co? - best regards Helmut -- Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
[GRASS-user] v.in.ogr: important bug fix when importing from PostgreSQL
Hi all, we found a serious bug when importing polygons from a PostgreSQL/PostGIS db: resultant areas might have wrong attributes because of a mix-up of the connection from geometries to attributes. This bug has been fixed in master and relbr78 (a new release of GRASS 7.8 should probably come out soon). Apparently this bug only affects those OGR datasources with a client/server database system, e.g. PostgreSQL or MySQL. This bug does not affect common file-based formats like shapefile, geopackage, etc. Markus M ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Datum not recognized by Grass
There are some solutions to the problem of datum not recognized by GRASS: - add Qatar_National_Datum_1995 to the datums known by GRASS - ignore the warning and use GRASS with PROJ6, granted that authority name (e.g. EPSG) and authority code (e.g. 2932) are known for both CRS's in case of reprojection The problem is that GRASS still assumes datum transformation from X to WGS84, whereas with PROJ6, WGS84 is no longer required as pivot datum. Datum transformations from datum X to datum Y can sometimes (often) be done without going through WGS84. The requirement is to have EPSG or other authority codes and to use PROJ 6. Markus M On Tue, Dec 3, 2019 at 8:52 PM Helmut Kudrnovsky wrote: > Markus Neteler wrote > > Hi, > > > > On Mon, Dec 2, 2019 at 9:49 AM Zoltan Szecsei > > > zoltans@.co > > > wrote: > >> > >> Hi, > >> I'm using EPSG 2932 and QGIS etc all are OK with it. > >> > >> I have installed everything using OSGeo4W64, so how come Grass does not > >> use the same projections database (as QGis etc)? > >> (and please can I have a pointer as to how to introduce EPSG 2932 to > >> Grass 7.8.1) > >> > >> Thanks and regards, > >> Zoltan > >> > >> Running against: > >> D:\GDBroad_tiles\shp_road_poly_few\23103770_road_poly.shp > >> WARNING: Datum > > > > not recognised by GRASS and > >> no parameters found > > > > Is it possible that you have a PROJ software version mixup? > > > > I tried on my Linux box: > > > > grass78 -c epsg:2932 ~/grassdata/test_2932 > > Starting GRASS GIS... > > Creating new GRASS GIS location > > > > ... > > Cleaning up temporary files... > > > > __ ___ _____ > > / / __ \/ | / ___/ ___/ / / _/ ___/ > > / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \ > >/ /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ / > >\/_/ |_/_/ |_/// \/___/// > > > > Welcome to GRASS GIS 7.8.2dev (ad4836c73) > > ... > > > > GRASS 7.8.2dev (test_2932):~ > g.proj -w > > PROJCS["QND95 / Qatar National Grid", > > GEOGCS["QND95", > > DATUM["Qatar_National_Datum_1995", > > SPHEROID["International 1924",6378388,297, > > AUTHORITY["EPSG","7022"]], > > > > > TOWGS84[-119.4248,-303.65872,-11.00061,1.164298,0.174458,1.096259,3.657065], > > AUTHORITY["EPSG","6614"]], > > PRIMEM["Greenwich",0, > > AUTHORITY["EPSG","8901"]], > > UNIT["degree",0.0174532925199433, > > AUTHORITY["EPSG","9122"]], > > AUTHORITY["EPSG","4614"]], > > PROJECTION["Transverse_Mercator"], > > PARAMETER["latitude_of_origin",24.45], > > PARAMETER["central_meridian",51.216667], > > PARAMETER["scale_factor",0.9], > > PARAMETER["false_easting",20], > > PARAMETER["false_northing",30], > > UNIT["metre",1, > > AUTHORITY["EPSG","9001"]], > > AXIS["Easting",EAST], > > AXIS["Northing",NORTH], > > AUTHORITY["EPSG","2932"]] > > when importing a shapefile with the same epsg projection, I get: > > v.in.ogr --verbose input=D:\wd\test_epsg2932.shp > > Using OGR driver 'ESRI Shapefile/ESRI Shapefile' > WARNING: Datum von GRASS nicht erkannt und > keine > Parameter gefunden. > Die Projektionsinformationen des Eingabedatensatzes und der aktuellen > Location scheinen übereinzustimmen. > > D:\wd>ogrinfo --version > GDAL 3.0.2, released 2019/10/28 > > D:\wd>ogrinfo test_epsg2932.shp -al -so > INFO: Open of `test_epsg2932.shp' > using driver `ESRI Shapefile' successful. > > Layer name: test_epsg2932 > Metadata: > DBF_DATE_LAST_UPDATE=2019-12-03 > Geometry: Point > Feature Count: 1 > Extent: (823205.438352, 25769.568359) - (823205.438352, 25769.568359) > Layer SRS WKT: > PROJCS["QND95 / Qatar National Grid", > GEOGCS["QND95", > DATUM["Qatar_National_Datum_1995", > SPHEROID["International 1924",6378388,297, > AUTHORITY["EPSG","7022"]], > AUTHORITY["EPSG","6614"]], > PRIMEM["Greenwich",0, > AUTHORITY["EPSG","8901"]], > UNIT["degree",0.0174532925199433, > AUTHORITY["EPSG","9122"]], > AUTHORITY["EPSG","4614"]], > PROJECTION["Transverse_Mercator"], > PARAMETER["latitude_of_origin",24.45], > PARAMETER["central_meridian",51.21667], > PARAMETER["scale_factor",0.9], > PARAMETER["false_easting",20], > PARAMETER["false_northing",30], > UNIT["metre",1, > AUTHORITY["EPSG","9001"]], > AXIS["Easting",EAST], > AXIS["Northing",NORTH], > AUTHORITY["EPSG","2932"]] > Data axis to CRS axis mapping: 1,2 > id: Integer64 (10.0) > test: Integer (9.0) > > D:\wd>testepsg test_epsg2932.prj > Validate Succeeds. > WKT[test_epsg2932.prj] = > PROJCS["QND95 / Qatar National Grid", > GEOGCS["QND95", > DATUM["Qatar_National_Datum_1995", > SPHEROID["International 1924",6378388,297, > AUTHORITY["EPSG","7022"]],
Re: [GRASS-user] Datum not recognized by Grass
Markus Neteler wrote > Hi, > > On Mon, Dec 2, 2019 at 9:49 AM Zoltan Szecsei > zoltans@.co > wrote: >> >> Hi, >> I'm using EPSG 2932 and QGIS etc all are OK with it. >> >> I have installed everything using OSGeo4W64, so how come Grass does not >> use the same projections database (as QGis etc)? >> (and please can I have a pointer as to how to introduce EPSG 2932 to >> Grass 7.8.1) >> >> Thanks and regards, >> Zoltan >> >> Running against: >> D:\GDBroad_tiles\shp_road_poly_few\23103770_road_poly.shp >> WARNING: Datum > > not recognised by GRASS and >> no parameters found > > Is it possible that you have a PROJ software version mixup? > > I tried on my Linux box: > > grass78 -c epsg:2932 ~/grassdata/test_2932 > Starting GRASS GIS... > Creating new GRASS GIS location > > ... > Cleaning up temporary files... > > __ ___ _____ > / / __ \/ | / ___/ ___/ / / _/ ___/ > / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \ >/ /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ / >\/_/ |_/_/ |_/// \/___/// > > Welcome to GRASS GIS 7.8.2dev (ad4836c73) > ... > > GRASS 7.8.2dev (test_2932):~ > g.proj -w > PROJCS["QND95 / Qatar National Grid", > GEOGCS["QND95", > DATUM["Qatar_National_Datum_1995", > SPHEROID["International 1924",6378388,297, > AUTHORITY["EPSG","7022"]], > > TOWGS84[-119.4248,-303.65872,-11.00061,1.164298,0.174458,1.096259,3.657065], > AUTHORITY["EPSG","6614"]], > PRIMEM["Greenwich",0, > AUTHORITY["EPSG","8901"]], > UNIT["degree",0.0174532925199433, > AUTHORITY["EPSG","9122"]], > AUTHORITY["EPSG","4614"]], > PROJECTION["Transverse_Mercator"], > PARAMETER["latitude_of_origin",24.45], > PARAMETER["central_meridian",51.216667], > PARAMETER["scale_factor",0.9], > PARAMETER["false_easting",20], > PARAMETER["false_northing",30], > UNIT["metre",1, > AUTHORITY["EPSG","9001"]], > AXIS["Easting",EAST], > AXIS["Northing",NORTH], > AUTHORITY["EPSG","2932"]] when importing a shapefile with the same epsg projection, I get: v.in.ogr --verbose input=D:\wd\test_epsg2932.shp Using OGR driver 'ESRI Shapefile/ESRI Shapefile' WARNING: Datum von GRASS nicht erkannt und keine Parameter gefunden. Die Projektionsinformationen des Eingabedatensatzes und der aktuellen Location scheinen übereinzustimmen. D:\wd>ogrinfo --version GDAL 3.0.2, released 2019/10/28 D:\wd>ogrinfo test_epsg2932.shp -al -so INFO: Open of `test_epsg2932.shp' using driver `ESRI Shapefile' successful. Layer name: test_epsg2932 Metadata: DBF_DATE_LAST_UPDATE=2019-12-03 Geometry: Point Feature Count: 1 Extent: (823205.438352, 25769.568359) - (823205.438352, 25769.568359) Layer SRS WKT: PROJCS["QND95 / Qatar National Grid", GEOGCS["QND95", DATUM["Qatar_National_Datum_1995", SPHEROID["International 1924",6378388,297, AUTHORITY["EPSG","7022"]], AUTHORITY["EPSG","6614"]], PRIMEM["Greenwich",0, AUTHORITY["EPSG","8901"]], UNIT["degree",0.0174532925199433, AUTHORITY["EPSG","9122"]], AUTHORITY["EPSG","4614"]], PROJECTION["Transverse_Mercator"], PARAMETER["latitude_of_origin",24.45], PARAMETER["central_meridian",51.21667], PARAMETER["scale_factor",0.9], PARAMETER["false_easting",20], PARAMETER["false_northing",30], UNIT["metre",1, AUTHORITY["EPSG","9001"]], AXIS["Easting",EAST], AXIS["Northing",NORTH], AUTHORITY["EPSG","2932"]] Data axis to CRS axis mapping: 1,2 id: Integer64 (10.0) test: Integer (9.0) D:\wd>testepsg test_epsg2932.prj Validate Succeeds. WKT[test_epsg2932.prj] = PROJCS["QND95 / Qatar National Grid", GEOGCS["QND95", DATUM["Qatar_National_Datum_1995", SPHEROID["International 1924",6378388,297, AUTHORITY["EPSG","7022"]], AUTHORITY["EPSG","6614"]], PRIMEM["Greenwich",0], UNIT["Degree",0.0174532925199433]], PROJECTION["Transverse_Mercator"], PARAMETER["latitude_of_origin",24.45], PARAMETER["central_meridian",51.21667], PARAMETER["scale_factor",0.9], PARAMETER["false_easting",20], PARAMETER["false_northing",30], UNIT["metre",1, AUTHORITY["EPSG","9001"]], AXIS["Easting",EAST], AXIS["Northing",NORTH]] Simplified WKT[test_epsg2932.prj] = PROJCS["QND95 / Qatar National Grid", GEOGCS["QND95", DATUM["Qatar_National_Datum_1995", SPHEROID["International 1924",6378388,297]], PRIMEM["Greenwich",0], UNIT["Degree",0.0174532925199433]], PROJECTION["Transverse_Mercator"], PARAMETER["latitude_of_origin",24.45], PARAMETER["central_meridian",51.21667],
Re: [GRASS-user] Datum not recognized by Grass
Markus Neteler wrote > Hi, > > On Mon, Dec 2, 2019 at 9:49 AM Zoltan Szecsei > zoltans@.co > wrote: >> >> Hi, >> I'm using EPSG 2932 and QGIS etc all are OK with it. >> >> I have installed everything using OSGeo4W64, so how come Grass does not >> use the same projections database (as QGis etc)? >> (and please can I have a pointer as to how to introduce EPSG 2932 to >> Grass 7.8.1) >> >> Thanks and regards, >> Zoltan >> >> Running against: >> D:\GDBroad_tiles\shp_road_poly_few\23103770_road_poly.shp >> WARNING: Datum > > not recognised by GRASS and >> no parameters found > > Is it possible that you have a PROJ software version mixup? > > I tried on my Linux box: > > grass78 -c epsg:2932 ~/grassdata/test_2932 > Starting GRASS GIS... > Creating new GRASS GIS location > > ... > Cleaning up temporary files... > > __ ___ _____ > / / __ \/ | / ___/ ___/ / / _/ ___/ > / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \ >/ /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ / >\/_/ |_/_/ |_/// \/___/// > > Welcome to GRASS GIS 7.8.2dev (ad4836c73) > ... > > GRASS 7.8.2dev (test_2932):~ > g.proj -w > PROJCS["QND95 / Qatar National Grid", > GEOGCS["QND95", > DATUM["Qatar_National_Datum_1995", > SPHEROID["International 1924",6378388,297, > AUTHORITY["EPSG","7022"]], > > TOWGS84[-119.4248,-303.65872,-11.00061,1.164298,0.174458,1.096259,3.657065], > AUTHORITY["EPSG","6614"]], > PRIMEM["Greenwich",0, > AUTHORITY["EPSG","8901"]], > UNIT["degree",0.0174532925199433, > AUTHORITY["EPSG","9122"]], > AUTHORITY["EPSG","4614"]], > PROJECTION["Transverse_Mercator"], > PARAMETER["latitude_of_origin",24.45], > PARAMETER["central_meridian",51.216667], > PARAMETER["scale_factor",0.9], > PARAMETER["false_easting",20], > PARAMETER["false_northing",30], > UNIT["metre",1, > AUTHORITY["EPSG","9001"]], > AXIS["Easting",EAST], > AXIS["Northing",NORTH], > AUTHORITY["EPSG","2932"]] C:\>g.proj -w PROJCS["QND95 / Qatar National Grid", GEOGCS["QND95", DATUM["Qatar_National_Datum_1995", SPHEROID["International 1924",6378388,297, AUTHORITY["EPSG","7022"]], TOWGS84[-119.4248,-303.65872,-11.00061,1.164298,0.174458,1.096259,3.657065], AUTHORITY["EPSG","6614"]], PRIMEM["Greenwich",0, AUTHORITY["EPSG","8901"]], UNIT["degree",0.0174532925199433, AUTHORITY["EPSG","9122"]], AUTHORITY["EPSG","4614"]], PROJECTION["Transverse_Mercator"], PARAMETER["latitude_of_origin",24.45], PARAMETER["central_meridian",51.21667], PARAMETER["scale_factor",0.9], PARAMETER["false_easting",20], PARAMETER["false_northing",30], UNIT["metre",1, AUTHORITY["EPSG","9001"]], AXIS["Easting",EAST], AXIS["Northing",NORTH], AUTHORITY["EPSG","2932"]] - best regards Helmut -- Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Datum not recognized by Grass
Markus Neteler wrote > Hi, > > On Mon, Dec 2, 2019 at 9:49 AM Zoltan Szecsei > zoltans@.co > wrote: >> >> Hi, >> I'm using EPSG 2932 and QGIS etc all are OK with it. >> >> I have installed everything using OSGeo4W64, so how come Grass does not >> use the same projections database (as QGis etc)? >> (and please can I have a pointer as to how to introduce EPSG 2932 to >> Grass 7.8.1) >> >> Thanks and regards, >> Zoltan >> >> Running against: >> D:\GDBroad_tiles\shp_road_poly_few\23103770_road_poly.shp >> WARNING: Datum > > not recognised by GRASS and >> no parameters found > > Is it possible that you have a PROJ software version mixup? > > I tried on my Linux box: > > grass78 -c epsg:2932 ~/grassdata/test_2932 > Starting GRASS GIS... > Creating new GRASS GIS location > > ... > Cleaning up temporary files... > > __ ___ _____ > / / __ \/ | / ___/ ___/ / / _/ ___/ > / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \ >/ /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ / >\/_/ |_/_/ |_/// \/___/// > > Welcome to GRASS GIS 7.8.2dev (ad4836c73) > ... > > GRASS 7.8.2dev (test_2932):~ > g.proj -w > PROJCS["QND95 / Qatar National Grid", > GEOGCS["QND95", > DATUM["Qatar_National_Datum_1995", > SPHEROID["International 1924",6378388,297, > AUTHORITY["EPSG","7022"]], > > TOWGS84[-119.4248,-303.65872,-11.00061,1.164298,0.174458,1.096259,3.657065], > AUTHORITY["EPSG","6614"]], > PRIMEM["Greenwich",0, > AUTHORITY["EPSG","8901"]], > UNIT["degree",0.0174532925199433, > AUTHORITY["EPSG","9122"]], > AUTHORITY["EPSG","4614"]], > PROJECTION["Transverse_Mercator"], > PARAMETER["latitude_of_origin",24.45], > PARAMETER["central_meridian",51.216667], > PARAMETER["scale_factor",0.9], > PARAMETER["false_easting",20], > PARAMETER["false_northing",30], > UNIT["metre",1, > AUTHORITY["EPSG","9001"]], > AXIS["Easting",EAST], > AXIS["Northing",NORTH], > AUTHORITY["EPSG","2932"]] > > # The versions here: > > GRASS 7.8.2dev (test_2932):~ > g.version -rge > version=7.8.2dev > date=2019 > revision=ad4836c73 > build_date=2019-11-28 > build_platform=x86_64-pc-linux-gnu > build_off_t_size=8 > libgis_revision=0 > libgis_date="?" > proj=5.2.0 > gdal=2.3.2 > geos=3.7.1 > sqlite=3.30.0 > > Looks all fine. > Please check if an old PROJ 4 is installed which might confuse things. with C:\>g.version -rge version=7.8.1 date=2019 revision=c865432c9 build_date=2019-11-10 build_platform=x86_64-w64-mingw32 build_off_t_size=8 libgis_revision=0 libgis_date="?" proj=6.2.1 gdal=3.0.2 geos=3.8.0 sqlite=3.29.0 I get with the location wizzard: Starting GRASS GIS... Traceback (most recent call last): File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\location_wizard\wizard.py", line 1607, in OnPageChanging self.parent.parent, transforms=ret) File "C:\OSGEO4~1\apps\grass\grass78\gui\wxpython\location_wizard\dialogs.py", line 617, in __init__ transforms = '---\n\n0\nDo not apply any datum transformations\n\n' + transforms TypeError: can only concatenate str (not "bytes") to str - best regards Helmut -- Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Datum not recognized by Grass
On Mon, Dec 2, 2019 at 9:49 AM Zoltan Szecsei wrote: > > Hi, > I'm using EPSG 2932 and QGIS etc all are OK with it. > > I have installed everything using OSGeo4W64, so how come Grass does not > use the same projections database (as QGis etc)? Please post the output of g.version -rge Best Markus ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] Datum not recognized by Grass
Hi, On Mon, Dec 2, 2019 at 9:49 AM Zoltan Szecsei wrote: > > Hi, > I'm using EPSG 2932 and QGIS etc all are OK with it. > > I have installed everything using OSGeo4W64, so how come Grass does not > use the same projections database (as QGis etc)? > (and please can I have a pointer as to how to introduce EPSG 2932 to > Grass 7.8.1) > > Thanks and regards, > Zoltan > > Running against: > D:\GDBroad_tiles\shp_road_poly_few\23103770_road_poly.shp > WARNING: Datum not recognised by GRASS and > no parameters found Is it possible that you have a PROJ software version mixup? I tried on my Linux box: grass78 -c epsg:2932 ~/grassdata/test_2932 Starting GRASS GIS... Creating new GRASS GIS location ... Cleaning up temporary files... __ ___ _____ / / __ \/ | / ___/ ___/ / / _/ ___/ / / __/ /_/ / /| | \__ \\_ \ / / __ / / \__ \ / /_/ / _, _/ ___ |___/ /__/ / / /_/ // / ___/ / \/_/ |_/_/ |_/// \/___/// Welcome to GRASS GIS 7.8.2dev (ad4836c73) ... GRASS 7.8.2dev (test_2932):~ > g.proj -w PROJCS["QND95 / Qatar National Grid", GEOGCS["QND95", DATUM["Qatar_National_Datum_1995", SPHEROID["International 1924",6378388,297, AUTHORITY["EPSG","7022"]], TOWGS84[-119.4248,-303.65872,-11.00061,1.164298,0.174458,1.096259,3.657065], AUTHORITY["EPSG","6614"]], PRIMEM["Greenwich",0, AUTHORITY["EPSG","8901"]], UNIT["degree",0.0174532925199433, AUTHORITY["EPSG","9122"]], AUTHORITY["EPSG","4614"]], PROJECTION["Transverse_Mercator"], PARAMETER["latitude_of_origin",24.45], PARAMETER["central_meridian",51.216667], PARAMETER["scale_factor",0.9], PARAMETER["false_easting",20], PARAMETER["false_northing",30], UNIT["metre",1, AUTHORITY["EPSG","9001"]], AXIS["Easting",EAST], AXIS["Northing",NORTH], AUTHORITY["EPSG","2932"]] # The versions here: GRASS 7.8.2dev (test_2932):~ > g.version -rge version=7.8.2dev date=2019 revision=ad4836c73 build_date=2019-11-28 build_platform=x86_64-pc-linux-gnu build_off_t_size=8 libgis_revision=0 libgis_date="?" proj=5.2.0 gdal=2.3.2 geos=3.7.1 sqlite=3.30.0 Looks all fine. Please check if an old PROJ 4 is installed which might confuse things. Best Markus ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] error while using i.segment.stats
Hi Moritz, Thanks for your answer :) In smaller subsets (per cutlines tiles), it works just fine. I will try later today or tomorrow to run it with grass76. Best, Vero El mar., 3 dic. 2019 a las 12:41, Moritz Lennert (< mlenn...@club.worldonline.be>) escribió: > Hi Vero, > > Le Mon, 2 Dec 2019 13:43:30 +0100, > Veronica Andreo a écrit : > > > Hi, > > > > We are trying to use i.segment.stats for a map with 80+ segments > > and already in two different laptops, we get: > > > > bands=`g.list rast pat=IGUAZU_IMG_* sep=,` > > > RASTER_STATS=(min,max,range,mean,stddev,median,first_quart,third_quart,perc_90) > > AREA_STATS=(area,perimeter,compact_circle,compact_square,fd) > > > > i.segment.stats -rc \ > > map=segments_full_region \ > > rasters=$bands \ > > raster_statistics=$RASTER_STATS \ > > area_measures=$AREA_STATS \ > > vectormap=segs_stats_map \ > > processes=4 > > Calculating geometry statistics... > > Calculating statistics for raster maps... > > Exception in thread Thread-3: > > Traceback (most recent call last): > > File "/usr/lib/python3.6/threading.py", line 916, in > > _bootstrap_inner self.run() > > File "/usr/lib/python3.6/threading.py", line 864, in run > > self._target(*self._args, **self._kwargs) > > File "/usr/lib/python3.6/multiprocessing/pool.py", line 463, in > > _handle_results > > task = get() > > File "/usr/lib/python3.6/multiprocessing/connection.py", line 251, > > in recv return _ForkingPickler.loads(buf.getbuffer()) > > TypeError: __init__() missing 3 required positional arguments: > > 'module', 'code', and 'returncode' > > > > Does it have to do with memory? I used the module a month ago with > > 50+ segments and it worked just fine... > > I don't think memory is the issue, but I find the error message > pretty cryptic, so wouldn't exclude altogether. Could it be some > difference between Python 2 and 3 in the multiprocessing module ? Would > it be possible for you try running it in Python 2 ? > > Maybe you could also try to run it on a smaller subset of the > segmentation result ? > > Moritz > > > -- > Département Géosciences, Environnement et Société Université Libre de > Bruxelles Bureau: S.DB.6.138 > CP 130/03 > Av. F.D. Roosevelt 50 > 1050 Bruxelles > Belgique > > tél. + 32 2 650.68.12 / 68.11 (secr.) > fax + 32 2 650.68.30 > ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] 7.8.1 on Ubuntu 18.04
Done, please upload RC to experimental. Thanks, Angelos On 12/3/19 12:28 PM, Martin Landa wrote: út 3. 12. 2019 v 11:27 odesílatel Angelos Tzotsos napsal: No, please wait, do not upload anything yet, I am still building packages to move to unstable. OK, just let me know. Ma -- Angelos Tzotsos, PhD Charter Member Open Source Geospatial Foundation http://users.ntua.gr/tzotsos ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] 7.8.1 on Ubuntu 18.04
No, please wait, do not upload anything yet, I am still building packages to move to unstable. On 12/3/19 12:25 PM, Martin Landa wrote: Hi, út 3. 12. 2019 v 10:40 odesílatel Angelos Tzotsos napsal: My plan is to copy the transition files from experimental to unstable. After that, please upload the RC version to experimental only. sure, RCs are uploaded only to expr PPA. So if I understand well, I can upload RC to expr PPA right now? Ma -- Angelos Tzotsos, PhD Charter Member Open Source Geospatial Foundation http://users.ntua.gr/tzotsos ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] 7.8.1 on Ubuntu 18.04
út 3. 12. 2019 v 11:27 odesílatel Angelos Tzotsos napsal: > No, please wait, do not upload anything yet, I am still building > packages to move to unstable. OK, just let me know. Ma -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] 7.8.1 on Ubuntu 18.04
Hi, út 3. 12. 2019 v 10:40 odesílatel Angelos Tzotsos napsal: > My plan is to copy the transition files from experimental to unstable. > After that, please upload the RC version to experimental only. sure, RCs are uploaded only to expr PPA. So if I understand well, I can upload RC to expr PPA right now? Ma -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] 7.8.1 on Ubuntu 18.04
My plan is to copy the transition files from experimental to unstable. After that, please upload the RC version to experimental only. On 12/3/19 11:35 AM, Martin Landa wrote: Hi, út 3. 12. 2019 v 10:23 odesílatel Angelos Tzotsos napsal: Please wait until I copy those files over. are we speaking about expr PPA only? Ma -- Angelos Tzotsos, PhD Charter Member Open Source Geospatial Foundation http://users.ntua.gr/tzotsos ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] 7.8.1 on Ubuntu 18.04
Hi, út 3. 12. 2019 v 10:23 odesílatel Angelos Tzotsos napsal: > Please wait until I copy those files over. are we speaking about expr PPA only? Ma -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] 7.8.1 on Ubuntu 18.04
Please wait until I copy those files over. On 12/3/19 11:06 AM, Martin Landa wrote: Hi, út 3. 12. 2019 v 10:01 odesílatel Angelos Tzotsos napsal: I will rebuild the package in experimental with ~bionic3 I was planning to upload 7.8.2RC1 to experimental... Ma -- Angelos Tzotsos, PhD Charter Member Open Source Geospatial Foundation http://users.ntua.gr/tzotsos ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] 7.8.1 on Ubuntu 18.04
Hi, út 3. 12. 2019 v 10:01 odesílatel Angelos Tzotsos napsal: > I will rebuild the package in experimental with ~bionic3 I was planning to upload 7.8.2RC1 to experimental... Ma -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] 7.8.1 on Ubuntu 18.04
Thanks for uploading. I will rebuild the package in experimental with ~bionic3 On 12/3/19 10:57 AM, Martin Landa wrote: Hi, út 3. 12. 2019 v 9:54 odesílatel Angelos Tzotsos napsal: The package was already in experimental ppa, waiting to be copied along with new geos, proj and gdal. Please test since I am planning to copy soon. I will test. Anyway I took liberty to upload bionic2 package to unstable since bionic1 is completely broken (speaking about GUI). Ma -- Angelos Tzotsos, PhD Charter Member Open Source Geospatial Foundation http://users.ntua.gr/tzotsos ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] 7.8.1 on Ubuntu 18.04
Hi, út 3. 12. 2019 v 9:54 odesílatel Angelos Tzotsos napsal: > The package was already in experimental ppa, waiting to be copied along > with new geos, proj and gdal. > Please test since I am planning to copy soon. I will test. Anyway I took liberty to upload bionic2 package to unstable since bionic1 is completely broken (speaking about GUI). Ma -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] 7.8.1 on Ubuntu 18.04
The package was already in experimental ppa, waiting to be copied along with new geos, proj and gdal. Please test since I am planning to copy soon. On 12/3/19 10:27 AM, Martin Landa wrote: Hi, po 25. 11. 2019 v 8:35 odesílatel Martin Landa napsal: I tried reinstalling grass from grass-devel and ubuntugis-unstable PPAs to same result. I also tried compiling from source, with no success so far. it's a known issue [1]. Will be fixed in upcoming release 7.8.2. Ma I have published new package with locally applied patch. Try to install 7.8.1-1~bionic2. Martin -- Angelos Tzotsos, PhD Charter Member Open Source Geospatial Foundation http://users.ntua.gr/tzotsos ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user
Re: [GRASS-user] 7.8.1 on Ubuntu 18.04
Hi, po 25. 11. 2019 v 8:35 odesílatel Martin Landa napsal: > > I tried reinstalling grass from grass-devel and ubuntugis-unstable PPAs > > to same result. I also tried compiling from source, with no success so far. > > it's a known issue [1]. Will be fixed in upcoming release 7.8.2. Ma I have published new package with locally applied patch. Try to install 7.8.1-1~bionic2. Martin -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa ___ grass-user mailing list grass-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-user