[Qgis-developer] SAGA kernel missing CRS?
Victor Olaya
volayaf at gmail.com
Sun Jul 12 23:40:56 PDT 2015
Ok, i tested with your CRS definition and it works fine
I create a shapefile and add that CRS definitino in a prj file. I open
that file and the CRS is correctly identified as EPSG:27700 - OSGB
1936 / British National Grid.
Then I calculate kernel density, and the output sdat file has a prj
file with exactly that same CRS definition (this is what the fix that
i added does, just moving the CRS definition from input to output).
Can you check that it is not happening like that in your case, opening
the prj file of the sdat file and comparing?
Computing contour lines with the density layer works as expected, also
using the same CRS definition.
Cheers
2015-07-11 11:08 GMT+02:00 Paolo Cavallini <cavallini at faunalia.it>:
> Il 10/07/2015 19:47, Victor Olaya ha scritto:
>> hmmm, really weird. Can you check that the prj file that is created
>> has the same content as the one of the input file?
>>
>> it should not be different on linux or windows, since it has nothing
>> to do with saga actually. It is just rewritting the prj file, which
>> should be the same in both OSs
>
> this is the prj:
>
> PROJCS["OSGB 1936 / British National Grid",GEOGCS["OSGB
> 1936",DATUM["OSGB_1936",SPHEROID["Airy
> 1830",6377563.396,299.3249646,AUTHORITY["EPSG","7001"]],TOWGS84[446.448,-125.157,542.06,0.15,0.247,0.842,-20.489],AUTHORITY["EPSG","6277"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4277"]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",49],PARAMETER["central_meridian",-2],PARAMETER["scale_factor",0.9996012717],PARAMETER["false_easting",400000],PARAMETER["false_northing",-100000],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","27700"]]
>
> so it looks like a qpj, I think this is why it is not recognized.
>
>> Anyway, good idea, we will publish a new version and let people test it
>
> please do, thanks!
>
> All the best.
>
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
More information about the Qgis-developer
mailing list