[Geomoose-users] Extents in Print Report

Dan Little danlittle at yahoo.com
Thu Jan 29 15:30:02 EST 2009


The extent of the map that is used for printing would be the more useful part of the equation...



________________________________
From: Jay Kapalczynski <jkapalczynski at ci.maple-grove.mn.us>
To: Dan Little <danlittle at yahoo.com>; "geomoose-developers at lists.sourceforge.net" <geomoose-developers at lists.sourceforge.net>; GeoMOOSE Users List <geomoose-users at lists.sourceforge.net>
Sent: Thursday, January 29, 2009 2:27:53 PM
Subject: RE: [Geomoose-users] Extents in Print Report


Thanks for your input Duck
 
I have this working for my app in MN….trying this for some other
data in Arkansas…There might be something I am missing..
Don’t know….there some other extent I am forgetting?
 
1.       What I did was replace my Parcels file with one from Arkansas
2.       Added a WMS service for that area
3.       Changed the extents in the identify.map file….   EXTENT 
350966 3834873 583017 4048382
4.       I then zoomed to the area and identified on a parcel
It
pulls up some data from the record so I know its working up to this point
 
 
I then clicked the Report link to create the Print_Report
 <td
align="Left">&nbsp Send to Report: &nbsp<a
href="php/print_report.php?layers=Parcels,Orthos&title=Parcel%20Report&qitem=PID&qstring=[PID]&qlayer=Parcels&buffer=100"
target="_blank" ><img src="shared/images/application_view_list.png"
border="0" title="Parcel Report">&nbsp Create
Report</a>
 
I get this
Fatal error: [MapServer Error]: setExtent(): Given
map extent is invalid. Check that it is in the form: minx, miny, maxx, maxy in C:\ms4w\apps\GeoMOOSE\htdocs\php\pdfprint2.php on line 40
 
Line 40:
$searchMap->setExtent($extent[0],$extent[1],$extent[2],$extent[3]);
 
 
From:Dan Little
[mailto:danlittle at yahoo.com] 
Sent: Thursday, January 29, 2009 1:47 PM
To: Jay Kapalczynski; geomoose-developers at lists.sourceforge.net;
GeoMOOSE Users List
Subject: Re: [Geomoose-users] Extents in Print Report
 
Can
you include the POST request to print.php or at least the extent?
 

________________________________
 
From:Jay Kapalczynski
<jkapalczynski at ci.maple-grove.mn.us>
To: "geomoose-developers at lists.sourceforge.net"
<geomoose-developers at lists.sourceforge.net>; GeoMOOSE Users List
<geomoose-users at lists.sourceforge.net>
Sent: Thursday, January 29, 2009 12:50:21 PM
Subject: [Geomoose-users] Extents in Print Report
I
am messing around with another area of the Country…down in Arkansas.
 
I
reference a WMS service, and another Parcel dataset both in UTM zone 15
 
I
zoom to that area and can see the parcels…..I click one with the identify and
it returns the record and attributes…
 
But
when I click the Print Report it gives me this error and 
 
 
Fatal
error: [MapServer Error]: setExtent(): Given map extent is invalid. Check
that it is in the form: minx, miny, maxx, maxy in C:\ms4w\apps\GeoMOOSE\htdocs\php\pdfprint2.php on line 40
 
This
is line 40
                                               
$searchMap->setExtent($extent[0],$extent[1],$extent[2],$extent[3]);
 
 
 
Why
is this new data creating the error….is there a max extent setting in GeoMoose
that is causing this error? Where are the extent being set for the report?
 
Any
thoughts?
 
 
Thanks


      
-------------- next part --------------
Skipped content of type multipart/related


More information about the Geomoose-users mailing list