comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » map_proj_init
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
map_proj_init [message #53364] Sat, 07 April 2007 15:09 Go to previous message
marit is currently offline  marit
Messages: 4
Registered: September 1995
Junior Member
Has anyone run into the problem that subsequent calls to map_proj_init
using a GCTP projection interfere with previously defined maps? Here
is an example:

south_proj=MAP_PROJ_INIT('Polar Stereographic' ,/GCTP ,$
semimajor_axis=6378273.0,semiminor_axis=6356889.4,$
center_lon=0,center_lat=-70.0,false_easting=0,false_northing =0)

print,map_proj_forward([0,0],[-90.0,-89.0],map_structure=sou th_proj)
0.0000000 0.0000000
0.0000000 108332.24

north_proj=MAP_PROJ_INIT('Polar Stereographic' ,/GCTP ,$
semimajor_axis=6378273.0,semiminor_axis=6356889.4,$
center_lon=0,center_lat=70.0,false_easting=0,false_northing= 0)

print,map_proj_forward([0,0],[-90.0,-89.0],map_structure=sou th_proj)
0.0000000 -2.0002841e+23
0.0000000 -1.4035070e+09

I haven't yet seen this occur if the second projection is an IDL
projection; however the IDL projections are not usually useful since
they can't be set up like a normal projections with false easting and
false northing and they are mostly spherical not ellipsoidal.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: unable to set time attribute for netCDF in IDL
Next Topic: ENVI Navigating GeoTiff Image Incorrectly?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:07:55 PDT 2025

Total time taken to generate the page: 0.00420 seconds