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

Home » Public Forums » archive » Maps - ellipsoids in map_set ('scale on the central meridian')
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Maps - ellipsoids in map_set ('scale on the central meridian') [message #87230 is a reply to message #87227] Fri, 17 January 2014 06:34 Go to previous message
Andy Sayer is currently offline  Andy Sayer
Messages: 127
Registered: February 2009
Senior Member
The mystery thickens. The GSHHS shoreline database overlays the IDL one almost exactly for my image, so that's not it. I still can't get changing ellipsoids to make a noticeable difference so I am either doing it wrong or it is a sub-pixel shift. I used Google Earth to cross-reference the apparent position of features in the images and IDL's coastlines, and find that the 'true' positions (according to Google Earth are somewhere in between: there is roughly a 0.01 degree difference.

So I wonder if perhaps this image is misregistered, AND the shoreline databases are a little off. Perhaps when I am having problems on scales of 0.01 degrees I am expecting too much but having not worked with this resolution of data near coasts before I don't know if this is considered an 'acceptable' level of error or not.

Andy

On Thursday, January 16, 2014 5:14:10 PM UTC-5, AMS wrote:
> Actually I was adding the continental outlines after mapping with map_continents (and using /hires and /coast) rather than during map_set.
>
>
>
> I experimented a bit with different ellipsoids (guessing 1 and 0.9996 for this mysterious third parameter) but it didn't seem to make a visible difference. So either I am doing it wrong (possible), or the difference between Clarke and WGS 84 ellipsoids is smaller than one data pixel (~100 m).
>
>
>
> I'm planning to try the GSHHS stuff in the morning... we will see! But I would really not expect that would make such a difference (~1-2 km mismatch). Then again as the IDL maps don't recognise some countries which have existed for over a decade now, perhaps I should not be surprised. ;)
>
>
>
> Andy
>
>
>
> On Thursday, January 16, 2014 4:09:19 PM UTC-5, David Fanning wrote:
>
>> AMS writes:
>
>>
>
>>
>
>>
>
>>> I suspected you might say that, David!
>
>>
>
>>
>
>>
>
>> Well, aside from MAP_SET just being generally terrible for doing
>
>>
>
>> professional map projection stuff, are you sure you are using the HI-RES
>
>>
>
>> continental outlines? Is this the kind of thing that can be improved
>
>>
>
>> with the GSHHS data?
>
>>
>
>>
>
>>
>
>> Cheers,
>
>>
>
>>
>
>>
>
>> David
>
>>
>
>> --
>
>>
>
>> David Fanning, Ph.D.
>
>>
>
>> Fanning Software Consulting, Inc.
>
>>
>
>> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
>>
>
>> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: case study of digital cell phone
Next Topic: Plotting with colorbar

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

Current Time: Wed Oct 08 19:59:23 PDT 2025

Total time taken to generate the page: 0.00456 seconds