-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows - Crash when creatin new mapset in GRASS with custom proyection with +towgs84 #10933
Comments
Author Name: Magnus Homann (@homann)
|
Author Name: Magnus Homann (@homann) This seems to be some sort of GRASS error. qgsgrassnewmapset calls GPJ_osr_to_grass This is the last output from [[WinXP]] before crash, see the (null) at last line:
Crash in wscanf due to nonexistinging file? |
Author Name: Magnus Homann (@homann) In Ubuntu, I moved the file //usr/lib/grass/etc/datum.table, and got similar response. No crash, however. Notice that file name is present
|
Author Name: Markus Neteler (Markus Neteler) The datum file is searched in $GISBASE/etc/datum.table". I suspect that it is missing there or unaccessible? It should work since the native winGRASS version also works. Other source of error: white space in the path of $GISBASE - if so, please let the GRASS team know. Markus |
Author Name: Markus Neteler (Markus Neteler) Note: the error is generated in grass63/lib/gis/datum.c |
Author Name: Marco Pasetti - (Marco Pasetti -)
|
Author Name: Anónimo (Anónimo) Milestone Version 0.9.2 deleted |
Author Name: Fernando Pacheco - (Fernando Pacheco -)
Original Redmine Issue: 874
Redmine category:grass
Assignee: Magnus Homann
In Windows, QGis crash when the user trying to create a new mapset with a custom projection containing the parameter +towgs84. There is no problem in Linux.
To reproduce this bug:
1-run Qgis in Windows;
2-create a custom projection in QGis. For example ROU-USAM (Uruguay): +proj=tmerc +lat_0=-90 +lon_0=-55.8 +k=1.000000000 +x_0=500000 +y_0=0 +ellps=intl +towgs84=-155,171,37,0,0,0,0 +units=m +no_defs;
3-establish this or another projection in QGis;
4-begin to create a new mapset with GRASS (database,location, mapset). When you set the projection created in step 1, QGis crash.
Thanks. Fernando.
The text was updated successfully, but these errors were encountered: