[Pmapper-users] Error in displaying raster in tileindex shape

2006-06-01 Thread Dejan Gambin
I have just copied the content of php error log at the end of the working day so I missed the needed explanations, sorry. Line 311 is: $mapImg = $this->map->draw(); Line 332 is just the logical error that follows: $this->mapURL = $mapImg->saveWebImage(); When using a normal raster file for the

[Pmapper-users] Error in displaying raster in tileindex shape

2006-06-01 Thread Armin Burger
Your description is probably missing have of the story. The 'open' request is typically used to get access to features of a layer after queries. It might help to know what 'line 311' (and maybe also 332) is trying to do. Otherwise nobody will be able to help you, also quite likely not on the Map

[Pmapper-users] Dynamic map creation in pmapper

2006-06-01 Thread Armin Burger
> > > > Just one note: do the offsX and offsY parameters in > > refmap.phtml need to be exactly the same as "left" and "top" > > in .refmap class in default.css? I wanted to move my > > reference map to the right (it was not centrally aligned in > > the frame) so I just increased the value of

[Pmapper-users] Error in displaying raster in tileindex shape

2006-06-01 Thread Gambin Dejan
Hi, I have created tileindex shapefile with my rasters using gdaltindex. When trying to show the raster layer I get the following errors in my php error log: [01-Jun-2006 16:11:12] PHP Warning: [MapServer Error]: msDrawMap(): Failed to draw layer named 'katastar_index'. in /var/www/pmapper1/inc

[Pmapper-users] Dynamic map creation in pmapper

2006-06-01 Thread Gambin Dejan
OK I found it...I have removed the call to startUp function in refmap.phtml... dejan > -Original Message- > From: pmapper-users-bounces at faunalia.it > [mailto:pmapper-users-bounces at faunalia.it] On Behalf Of Gambin Dejan > Sent: Thursday, June 01, 2006 2:58 PM > To: pmapper-users at

[Pmapper-users] Dynamic map creation in pmapper

2006-06-01 Thread Gambin Dejan
Thanks Armin, I have done the calculations using the formula I suppose mapserver is using, something like: md = (width-1)/(MS_PPI*inchesPerUnit[units]); gd = extent.maxx - extent.minx; scale = gd/md; It is pretty much ok now. The "only" thing left to solve (I hope) is the reference map. Since t

[Pmapper-users] Query Builder

2006-06-01 Thread Dennis-Jan Broerse - Ibuildings.nl
An HTML attachment was scrubbed... URL: http://faunalia.it/pipermail/pmapper-users/attachments/20060601/1675f2ff/attachment.htm -- next part -- A non-text attachment was scrubbed... Name: ibuildings.gif Type: image/gif Size: 5732 bytes Desc: not available Url : http