[GRASS-dev] [GRASS GIS] #3332: v.proj - Error in pj_do_transform
GRASS GIS
trac at osgeo.org
Fri Apr 14 05:03:57 PDT 2017
#3332: v.proj - Error in pj_do_transform
---------------------------+-------------------------
Reporter: DmitryKolesov | Owner: grass-dev@…
Type: defect | Status: new
Priority: normal | Milestone: 7.2.1
Component: Default | Version: unspecified
Keywords: | CPU: Unspecified
Platform: Unspecified |
---------------------------+-------------------------
Create test data, test LOCATIONs, then run GRASS GIS:
{{{
# Create the first location:
grass -e -c EPSG:4326 $(pwd)/E4326
# Create test data:
cat > test.geojson << EOF
{
"type": "FeatureCollection",
"crs": {
"type": "name",
"properties": {
"name": "urn:ogc:def:crs:EPSG::3857"
}
},
"features": [
{
"type": "Feature",
"properties": {"field2": "123"},
"geometry": {
"type": "Point",
"coordinates": [
15000823.76479647,
5781643.081065576
]
}
},
{
"type": "Feature",
"properties": {"field2": ""},
"geometry": {
"type": "Point",
"coordinates": [
15019270.955840966,
5630930.639970958
]
}
},
{
"type": "Feature",
"properties": {"field2": ""},
"geometry": {
"type": "Point",
"coordinates": [
15015891.673578057,
5652388.555190046
]
}
}
]
}
EOF
# Create the second location using provided datafile
grass -e -c test.geojson $(pwd)/TEST
grass $(pwd)/TEST/PERMANENT
}}}
Then run in GRASS session:
{{{
v.in.ogr test.geojson out=test
g.mapset location=E4326 mapset=PERMANENT
v.proj location=TEST in=test
}}}
The result of the last command is the next error:
{{{
WARNING: pj_transform() failed: failed to load datum shift file
ERROR: Error in pj_do_transform
}}}
----
Sorry if I'm duplicating this issue: #1189. But that ticket was created
long ago and Windows-specific. So I decided to create new one.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3332>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list