[OpenLayers-Users] tileStitchingPrinting problem

Ralph Dell RDell at CatawbaCountyNC.gov
Thu Jun 21 14:01:19 PDT 2012


This is just a piggyback on the tile stitching thread.

I would like to give a big thank you to the developers. Being able to
generate a image solved a big problem for me.

Any implementation problems I had I caused myself. Setting TEMP_DIR
incorrectly caused some angst and I had to change simplejson to json.

Thank you,

Ralph Dell
Catawba County, NC


-----Original Message-----
From: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] On Behalf Of vrbikdan
Sent: Wednesday, June 20, 2012 8:51 AM
To: openlayers-users at lists.osgeo.org
Subject: Re: [OpenLayers-Users] tileStitchingPrinting problem

Hi,
finally it works, but I'm not sure, but I thing I found few mistakes in
this
code 
http://trac.osgeo.org/openlayers/wiki/TileStitchingPrinting#Serverside:P
HP
http://trac.osgeo.org/openlayers/wiki/TileStitchingPrinting#Serverside:P
HP 

1) between lines 9 and 10 I wrote this part of code: imagecopy($cut,
$src_im, 0, 0, $src_x, $src_y, $src_w, $src_h);

2) line 42 in variable TEMP_DIR missing $

Maybe somewhere is this code corrected or maybe I'm using wrong code, so
if
its true, my appologize :) Next problem in my implementation was wrong
path
in TEMP_DIR and TEMP_URL, but this I susspected :)

Thanks for help and thanks for great piece of code ;)
Dan


--
View this message in context:
http://osgeo-org.1560.n6.nabble.com/tileStitchingPrinting-problem-tp4981
327p4982669.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users


More information about the Users mailing list