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  |
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.")
|
|
|