Radar isn't high quality graphics?

  • 2
  • Question
  • Updated 6 years ago
I included the radar in my iphone app, and the quality is not very high like it shows in the wunderground layers picture. Could I make it looking like that?
Photo of storm2012

storm2012

  • 7 Posts
  • 0 Reply Likes

Posted 6 years ago

  • 2
Photo of Brendan Hayes

Brendan Hayes, Official Rep

  • 962 Posts
  • 123 Reply Likes
Could you share the URLs you're hitting for the radar? It could be a parameter you're not passing correctly, or there's a better way to call the image.
Photo of storm2012

storm2012

  • 7 Posts
  • 0 Reply Likes
Thanks for the reply.

I currently have this code (took out http in link so it would show completely.:

-(NSString*)radarHtml{
NSURL* htmlUrl=[[NSBundle mainBundle] URLForResource:@"radar" withExtension:@"html"];
NSString* cont=[NSString stringWithContentsOfURL:htmlUrl
encoding:NSUTF8StringEncoding
error:nil];
NSString* radarurl=[NSString stringWithFormat:@"api.wunderground.com/api/95855565b0b6b257/animatedradar/q/%@,%@.gif?newmaps=1&timelabel=1&timelabel.y=10&num=5&delay=50",
self.latitude,self.longitude];
NSLog(@"%@",radarurl);
return [cont stringByReplacingOccurrencesOfString:@"$IMGSRC" withString:radarurl];
}
Photo of storm2012

storm2012

  • 7 Posts
  • 0 Reply Likes
I still haven't figured this out yet.
Photo of starvishd

starvishd

  • 4 Posts
  • 0 Reply Likes
we are having the same issue, the radar quality is poor, we are investigating further.

storm, did you figure out your issue?
Photo of wigging

wigging

  • 15 Posts
  • 0 Reply Likes
Did you try adding smooth=1 to your radar url? It usually gives a better image.