[OpenLayers-Users] Does OL have utility function to convert WKB into something usable?

Tim Schaub tschaub at openplans.org
Wed Dec 26 15:15:48 EST 2007


Hey-

Tim Schaub wrote:
> Hey-
> 
> Stephen Woodbridge wrote:
>> Hi all,
>>
>> Does OL have utility function to convert WKB into something usable?
>> Searching with google did not show anything appropriate.
> 
> Reading binary files is problematic cross-browser.  In Firefox, we can 
> override the mime-type to "text/plain; charset=x-user-defined" and parse 
> a byte at a time, but this doesn't work in IE.
> 
> I'd be happy to be told otherwise, but I think the answer is use known 
> character sets with browsers (not binary files).

Correcting myself, I see that the MS interface to XHR has a 
responseStream property.  So, if you're feeling like writing a WKB 
format for OL, it should be possible - you'd just want to expose some 
cross-browser methods for getting the raw data.

> 
> Tim
> 
>> Thanks,
>>    -Steve
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
>>
>>
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> !DSPAM:4033,4772b508254028992556831!
> 




More information about the Users mailing list