[GRASS-user] GRASS 7.0.0

2014-08-21 Thread Rengifo Ortega
Dear Grass users,
recently I installed GRASS 7.0.0 on ubuntu 14.04 (32 bits). When I tried to 
open  by typing  grass70 command I get the  following error message: python: 
can't open file '/usr/lib/grass70/gui/wxpython/gis_set.py': [Errno 2] No such 
file or directory
Received EXIT message from GUI.
GRASS is not started. Bye
 I also have  version 6.4.3 pefectly working from before, but I would like to 
migrate to Grass 70 as soon as posible. Any suggestions how to solve this issue?
thanks in advance..
Rengifo Ortega___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] GRASS 7.0.0

2014-08-21 Thread Vaclav Petras
Hi Rengifo,

On Thu, Aug 21, 2014 at 7:28 AM, Rengifo Ortega rengi...@yahoo.de wrote:

 Dear Grass users,
 recently I installed GRASS 7.0.0 on ubuntu 14.04 (32 bits). When I tried
to open  by typing  grass70 command I get the  following error message:
python: can't open file '/usr/lib/grass70/gui/wxpython/gis_set.py': [Errno
2] No such file or directory

can you please describe how did you installed GRASS GIS? Compiled yourself?
Is the gis_set.py file present somewhere?

  I also have  version 6.4.3 pefectly working from before, but I would
like to migrate to Grass 70 as soon as posible. Any suggestions how to
solve this issue?
 thanks in advance..
 Rengifo Ortega



 ___
 grass-user mailing list
 grass-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/grass-user
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] GeoTIFF, EPSG and GRASS

2014-08-21 Thread Adrien ANDRÉ
Hi!

with GDAL i use EPSG:2972 to reproject any new raster i'm lead to work with.

gdalinfo says:

Coordinate System is:
PROJCS[RGFG95 / UTM zone 22N,
GEOGCS[RGFG95,
DATUM[Reseau_Geodesique_Francais_Guyane_1995,
SPHEROID[GRS 1980,6378137,298.2572221010002,
AUTHORITY[EPSG,7019]],
TOWGS84[0,0,0,0,0,0,0],
AUTHORITY[EPSG,6624]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433],
AUTHORITY[EPSG,4624]],
PROJECTION[Transverse_Mercator],
PARAMETER[latitude_of_origin,0],
PARAMETER[central_meridian,-51],
PARAMETER[scale_factor,0.9996],
PARAMETER[false_easting,50],
PARAMETER[false_northing,0],
UNIT[metre,1,
AUTHORITY[EPSG,9001]],
AUTHORITY[EPSG,2972]]

I've created the GRASS location from this same code, and all imports are
successful.

After exporting, the gdalinfo output is different:

Coordinate System is:
PROJCS[UTM Zone 22, Northern Hemisphere,
GEOGCS[grs80,
DATUM[unknown,
SPHEROID[Geodetic_Reference_System_1980, 6378137,
298.257222101]],
PRIMEM[Greenwich,0],
UNIT[degree,0.0174532925199433]],
PROJECTION[Transverse_Mercator],
PARAMETER[latitude_of_origin,0],
PARAMETER[central_meridian,-51],
PARAMETER[scale_factor,0.9996],
PARAMETER[false_easting,50],
PARAMETER[false_northing,0],
UNIT[metre,1,
AUTHORITY[EPSG,9001]]]

The PROJCS has lost its AUTHORITY parameter.
Would someone know why this happens? Is there a way to fix this?

Thanks in advance,

regards,

Adrien
attachment: adrien_andre.vcf___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

[GRASS-user] Question about Elevation Maps and Shaded Relief Maps

2014-08-21 Thread Ben Winnick
Hi,

I have created an elevation map and a shaded relief map for the same area.
 I know there is a way that they can both be viewed simultaneously so that
you can see the elevations (as indicated by color) and the shaded relief at
the same time.  Currently I am only able to view one at a time depending on
which map is on top of the other.  How can I change that so that I can see
both maps at the same time?

Thanks,
Ben
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Re: [GRASS-user] Question about Elevation Maps and Shaded Relief Maps

2014-08-21 Thread Hamish
Ben wrote:
 I have created an elevation map and a shaded relief map for the same
 area. I know there is a way that they can both be viewed
 simultaneously so that you can see the elevations (as indicated by
 color) and the shaded relief at the same time.  Currently I am only
 able to view one at a time depending on which map is on top of the
 other.  How can I change that so that I can see both maps at the same
 time?

Using GRASS 6 and Xmonitors (d.mon), you can use the d.shadedmap
module, which is actually a wrapper for d.his. See the help page for
details on using the brightness option and an example.

For 3D, in NVIZ do:  nviz elev=dem color=overlay

In the wxGUI you can put the overlay map on top and then change its
opacity, right click on the map in the layer manager and select change
opacity level, then move the slider somewhere in the middle 50%.


Hamish
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user


Re: [GRASS-user] GeoTIFF, EPSG and GRASS

2014-08-21 Thread Hamish
Adrien wrote:
 with GDAL i use EPSG:2972 to reproject any new raster i'm lead to
 work with.
 
 gdalinfo says:
 
 Coordinate System is:
 PROJCS[RGFG95 / UTM zone 22N,
 GEOGCS[RGFG95,
 DATUM[Reseau_Geodesique_Francais_Guyane_1995,
 SPHEROID[GRS 1980,6378137,298.2572221010002,
 AUTHORITY[EPSG,7019]],
 TOWGS84[0,0,0,0,0,0,0],
 AUTHORITY[EPSG,6624]],
 PRIMEM[Greenwich,0],
 UNIT[degree,0.0174532925199433],
 AUTHORITY[EPSG,4624]],
 PROJECTION[Transverse_Mercator],
 PARAMETER[latitude_of_origin,0],
 PARAMETER[central_meridian,-51],
 PARAMETER[scale_factor,0.9996],
 PARAMETER[false_easting,50],
 PARAMETER[false_northing,0],
 UNIT[metre,1,
 AUTHORITY[EPSG,9001]],
 AUTHORITY[EPSG,2972]]
 
 I've created the GRASS location from this same code, and all imports
 are successful.
 
 After exporting, the gdalinfo output is different:
 
 Coordinate System is:
 PROJCS[UTM Zone 22, Northern Hemisphere,
 GEOGCS[grs80,
 DATUM[unknown,
 SPHEROID[Geodetic_Reference_System_1980, 6378137,
 298.257222101]],
 PRIMEM[Greenwich,0],
 UNIT[degree,0.0174532925199433]],
 PROJECTION[Transverse_Mercator],
 PARAMETER[latitude_of_origin,0],
 PARAMETER[central_meridian,-51],
 PARAMETER[scale_factor,0.9996],
 PARAMETER[false_easting,50],
 PARAMETER[false_northing,0],
 UNIT[metre,1,
 AUTHORITY[EPSG,9001]]]
 
 The PROJCS has lost its AUTHORITY parameter.

GRASS doesn't store the EPSG number in the location settings (well
it can, but that's just for informational purposes) and only uses
the actual coefficients used in the projection math. Literally
the output of the 'g.proj -p' command.

As definitive as EPSG codes are, they aren't always exact representations. 
(e.g. precision issues or added datum transform
grid selection is sometimes used but not specified in the actual
code definition. If you are lucky in these cases the extra terms
are stored in a PROJ.4 string within the WKT, but that's a non-
official extension AFAIK)

 Would someone know why this happens? Is there a way to fix this?

perhaps this will do it:
  gdal_translate -a_srs +init=epsg:2972 in.tif out.tif



Hamish
___
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user