[Chameleon] Nautical Miles units
    Jesse Cleary 
    jcleary at email.unc.edu
       
    Mon Nov 14 11:51:05 EST 2005
    
    
  
Hi Jan
Not a fix for your problem (though I'm interested in the solution), but 
wondering if you would share your code for enabling nautical miles using 
the ruler widget.  Thanks!
Jesse
Jan Jansen wrote:
> Hello list,
>  
> we are currently working on an application that requires map units to 
> be displayed in Nautical Miles.
> We made some adjustments to Chameleon to have the ruler widget support 
> the new units, this all works fine.
>  
> No the next problem is the scalebar, which should also support 
> Nautical Miles, but this seems to be a lot harder. Is it possible 
> to do this (workaround), without recompiling the Mapserver sourcecode 
> itself?
>  
> (Mapserver code:
> if((layer->sizeunits = getSymbol(7, 
> MS_INCHES,MS_FEET,MS_MILES,MS_METERS,MS_KILOMETERS,MS_DD,MS_PIXELS)) 
> == -1) return(-1);
>        break;
> )
>  
> Jan
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Chameleon mailing list
>Chameleon at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/chameleon
>  
>
-- 
Jesse Cleary				
Department of Marine Sciences	
UNC Chapel Hill
17-6 Venable Hall
jcleary at email.unc.edu
(919) 962-4323
    
    
More information about the Chameleon
mailing list