Giter Site home page Giter Site logo

Some Srid not supported. about proj HOT 4 CLOSED

osgeo avatar osgeo commented on August 25, 2024
Some Srid not supported.

from proj.

Comments (4)

proj4-bot avatar proj4-bot commented on August 25, 2024

Comment by warmerdam on 17 Jun 2009 03:09 UTC
I tried:

warmerda@gdal64[113]% ../src/cs2cs +proj=latlong +datum=WGS84 +to +init=epsg:28992
5 10
106221.92       -4432619.53 0.00

and things seem to work ok. This was with trunk, not 4.6.1. Could you be more specific about how you trigger the exception?

from proj.

proj4-bot avatar proj4-bot commented on August 25, 2024

Comment by yangyong on 17 Jun 2009 09:00 UTC
warmerda,

Thanks for your attention. I think you are talking different projection with mine.

My taking projection is 28992, the string is " +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +units=m +no_defs":

and your talking projection is 28992, but the projection string is "+proj=latlong +datum=WGS84 " which is not correct.

I also build the DLL in the attachment with the latest brunch code, it still cannot work.

Thanks.

Yang

from proj.

proj4-bot avatar proj4-bot commented on August 25, 2024

Comment by warmerdam on 28 Feb 2010 05:08 UTC
Yang,

Sorry for neglecting this so long.

I did test with epsg:28992 in my example. You may have to scroll to the right to see the whole cs2cs command. In order to ensure the init file lookup isn't causing any problems I just tried:

cs2cs +proj=latlong +datum=WGS84 \
  +to +proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 \
                   +x_0=155000 +y_0=463000 +ellps=bessel +units=m +no_defs
5 10 
106221.92       -4432619.53 0.00

I'm not sure why you are getting an exception, but I'd suggest first trying it at the commandline as I suspect the issue something about how you are calling PROJ.4.

Please reopen if you can reproduce this problem via the commandline tools.

from proj.

proj4-bot avatar proj4-bot commented on August 25, 2024

Attachment added by yangyong on 17 Jun 2009 08:56 UTC
https://trac.osgeo.org/proj/attachment/ticket/43/ProjectionApplication.zip

from proj.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.