[Opensim-users] map tile asset blobs

Jeroen van Veen j.veenvan at gmail.com
Wed Jul 21 06:36:17 UTC 2010


Hi,

There is another way to get the maptiles directly from the simulator http 
server. Check out http://hwios.org/browser/osmaps/tiler.py for an example. I 
think assets in the db are in j2k format. I had once succesfully retrieved 
images out of the blobs, using imagemagick for php, using jasper support(j2k).

kind regards,

Jeroen

On Wednesday 21 July 2010 08:29:17 Christopher Holden wrote:
> I'm grabbing the data for what I believe to be maptiles from the asset
> table of the database with a php script but so far haven't managed to
> display them on a webpage... can anyone tell me what image format they
> use or any decoding I need to do to get them to show? Here's a code
> snippet for what I'm doing at the moment:
> 
> $query = "select * from assets where id='$uuid'";
> $result = mysql_query($query);
> $data = mysql_result($result,0,data);
> header('Content-type: image/jpg');
> echo ($data);
> 
> 
> _______________________________________________
> Opensim-users mailing list
> Opensim-users at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-users



More information about the Opensim-users mailing list