Forum Replies Created

Viewing 0 reply threads
  • Author
    Posts
    • #8282
      Ondřej Veselý
      Participant

      Dear Artem,
      thanks for reporting this.
      Seems that spatialreference.org admins recently made some changes to their server, which now requires additonal certification, ooof.
      I will try to fix the WKT components asap.

      In the meantime, you can still get the WKT strings for each spatial referance system manually at https://spatialreference.org/ref/.
      Just find the CRS you need and open the ESRI WKT definiton (as ie. here) and use them in the same way as you would use the WKT components output.

      Best, Ondrej

    • #34816
      Ondřej Veselý
      Participant

      After a call with Siddharth we solved the issue.

      For future reference, if someone has similar issue – we solved it by projecting first to EPSG:4326 (also known as WGS 84) as intermidiary step before projecting to local Hong Kong specific coordinate system.

      The bug was possibly caused by floating point arithmetic error in the reprojection maths (we are using third party .NET library for this, so it’s hard to debug, but this is my guess). In general, using EPSG:4326 as a ‘home’ projection before reprojecting to anything else seems to be a good practice in these cases.

       

    • #8362
      Ondřej Veselý
      Participant

      Ok, I fixed the issue with WKT components, which now skip the server certificate validation when accessing spatial-reference.or and therefore shouldn’t cause any problems no more.

      Please replace the Geospatial.p2.7.5.0.gphy in your DecodingSpaces Libraries with the file from attached archive (don’t forget to UNBLOCK) and try again.

      Best, Ondrej

      Attachments:
      You must be logged in to view attached files.
    • #8361
      Ondřej Veselý
      Participant

      Well, any projection system that projects local map features into true scale with real proportions should be fine.
      However, I would recommend to work within the UTM system. It’s a global set of projections, reasonably accurate in all areas (except when close to poles, ie. northern parts of Scandinavia). Then you don’t have to worry about reasearching local projections systems, which are in most of the cases created by national geographic agencies and are specific to each country.
      https://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system

      All the WKT components do is try to get the correct WKT string from spatial-reference.org, so if you’ve found your WKT, just put it in a panel and use it instead of the WKT components.

      I’m sorry for the complications.

Viewing 0 reply threads