title: Pseudocylindrical projection into (X, Y) pixels
body: <p>Despite being able to convert LAT / LON coordinates into pixels for a Mercator projection, I could not figure out how to do the same for this pseudocylindrical projection described in this Patterson map available in <a href="http://www.shadedrelief.com/political" rel="nofollow">http://www.shadedrelief.com/political</a>, that is 13661 x 7853 pixels. </p>
  
  <p>I have a city, like 'Rio de Janeiro' (-22,9068, -43,1729) and I want to output the pixels (x, y) where the city is located. </p>
  
  <p>I have digged into some reference, without success. I cannot post the links here because of my reputation, but they are all inside the link given above (search for Patterson projection).</p>
  
  <p>My Mercator Java code / Excel code is something like:</p>
  
  <pre><code>    pixelX = (Longitude+180) / (width/360)
      pixelY = height/2 - (width * mercN / (2*PI()))
  
      where mercN = LOG(Tan((PI()/4 + Latitude*PI())/360)
  </code></pre>
  
  <p>And it naturally does not work for a pseudocylindrical projection.</p>