[QGIS-Developer] Projection issue with QGIS Dev

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[QGIS-Developer] Projection issue with QGIS Dev

Tim Sutton-6
Hi all

I am experiencing issues with my data being shifted in 3.7. Here is the scene from QGIS 3.4:

https://user-images.githubusercontent.com/178003/56698970-a69a7980-66eb-11e9-9dc9-ffd4e1d1aa1a.png

And here is the same scene in QGIS 3.7

https://user-images.githubusercontent.com/178003/56698977-ab5f2d80-66eb-11e9-9b5e-125429a59c08.png

I am using EPSG:20790.

QGIS revision is https://github.com/qgis/QGIS/commit/d3f6a5f9be (Lutra 3.7 package for Mac from a week or two back).

I’m attaching a minimal project that can be used to replicate the issue.

Does anyone else experience this issue?

Regards

Tim














Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux 
IRC: timlinux on #qgis at freenode.net

I'd love to connect. Here's my calendar link to make finding time easy.


_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

projection-issue.zip (14K) Download Attachment
KartozaNewLogoThumbnail.jpg (8K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Projection issue with QGIS Dev

3nids
Nyall is working with proj 6 integration and from what I understood 6.0 has unexpected with QGIS, 6.1 (may) should solve the issue.
But Nyall would have a more precise explanation I guess.


On Wed, 24 Apr 2019, 18:11 Tim Sutton, <[hidden email]> wrote:
Hi all

I am experiencing issues with my data being shifted in 3.7. Here is the scene from QGIS 3.4:

https://user-images.githubusercontent.com/178003/56698970-a69a7980-66eb-11e9-9dc9-ffd4e1d1aa1a.png

And here is the same scene in QGIS 3.7

https://user-images.githubusercontent.com/178003/56698977-ab5f2d80-66eb-11e9-9b5e-125429a59c08.png

I am using EPSG:20790.

QGIS revision is https://github.com/qgis/QGIS/commit/d3f6a5f9be (Lutra 3.7 package for Mac from a week or two back).

I’m attaching a minimal project that can be used to replicate the issue.

Does anyone else experience this issue?

Regards

Tim












Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux 
IRC: timlinux on #qgis at freenode.net

I'd love to connect. Here's my calendar link to make finding time easy.

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Projection issue with QGIS Dev

Richard Duivenvoorde
On 25/04/2019 03.35, Denis Rouzaud wrote:
> Nyall is working with proj 6 integration and from what I understood 6.0
> has unexpected with QGIS, 6.1 (may) should solve the issue.
> But Nyall would have a more precise explanation I guess.

I've been building proj6 here with gdal 2.4.

But (without modifications )I've not been able to build QGIS master with
it yet.

Not sure if it is helpfull, both with and without (earlier suggested):
 -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1
or
 -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=0

I get:

/home/richard/git/qgisgdal/src/core/qgscoordinatereferencesystem.cpp: In
static member function ‘static int
QgsCoordinateReferenceSystem::syncDatabase()’:
/home/richard/git/qgisgdal/src/core/qgscoordinatereferencesystem.cpp:2249:3:
error: ‘projCtx’ was not declared in this scope
   projCtx pContext = pj_ctx_alloc();
   ^~~~~~~
/home/richard/git/qgisgdal/src/core/qgscoordinatereferencesystem.cpp:2249:3:
note: suggested alternative: ‘projCtx_t’
   projCtx pContext = pj_ctx_alloc();
   ^~~~~~~
   projCtx_t

Happy to test build if it is helpful, but I'm afraid I cannot be helpful
with fixing the build though :(

Regards,

Richard Duivenvoorde
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Reply | Threaded
Open this post in threaded view
|

Re: Projection issue with QGIS Dev

Peter Petrik
Hi,

last "building" commit on master with proj6 is d3f6a5f9be9692c4ce232178df144f64a228955a 
Nyall will probably fix master with proj6 next week.

Regards,
Peter

On Thu, Apr 25, 2019 at 12:05 PM Richard Duivenvoorde <[hidden email]> wrote:
On 25/04/2019 03.35, Denis Rouzaud wrote:
> Nyall is working with proj 6 integration and from what I understood 6.0
> has unexpected with QGIS, 6.1 (may) should solve the issue.
> But Nyall would have a more precise explanation I guess.

I've been building proj6 here with gdal 2.4.

But (without modifications )I've not been able to build QGIS master with
it yet.

Not sure if it is helpfull, both with and without (earlier suggested):
 -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1
or
 -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=0

I get:

/home/richard/git/qgisgdal/src/core/qgscoordinatereferencesystem.cpp: In
static member function ‘static int
QgsCoordinateReferenceSystem::syncDatabase()’:
/home/richard/git/qgisgdal/src/core/qgscoordinatereferencesystem.cpp:2249:3:
error: ‘projCtx’ was not declared in this scope
   projCtx pContext = pj_ctx_alloc();
   ^~~~~~~
/home/richard/git/qgisgdal/src/core/qgscoordinatereferencesystem.cpp:2249:3:
note: suggested alternative: ‘projCtx_t’
   projCtx pContext = pj_ctx_alloc();
   ^~~~~~~
   projCtx_t

Happy to test build if it is helpful, but I'm afraid I cannot be helpful
with fixing the build though :(

Regards,

Richard Duivenvoorde
_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

_______________________________________________
QGIS-Developer mailing list
[hidden email]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer