[Geomoose-users] problem setting up mapbook.xml in 2.6- projection issue

Bistrais, Bob Bob.Bistrais at maine.gov
Tue Apr 24 11:04:57 EDT 2012


When opening in a new tab, here’s the error message:

loadSymbolSet(): Unable to access file. (../../symbols/symbol.sym)

 

However, the map file for this layer does not call for a symbol set, and I’m using just a simple polygon fill:

 

    STYLE

      COLOR 130 190 75

      OUTLINECOLOR 0 0 0

    END

 

From: Dan Little [mailto:danlittle at yahoo.com] 
Sent: Tuesday, April 24, 2012 10:40 AM
To: Bistrais, Bob; Brian Fischer; geomoose-users at lists.osgeo.org
Subject: Re: [Geomoose-users] problem setting up mapbook.xml in 2.6- projection issue

 

I can't open that link from here. :-)

 

Can you open it in a different tab and see what error your are receiving? I agree the coordinates look wrong for a UTM projection.

	 

	
________________________________


	From: "Bistrais, Bob" <Bob.Bistrais at maine.gov>
	To: Dan Little <danlittle at yahoo.com>; Brian Fischer <bfischer at houstoneng.com>; geomoose-users at lists.osgeo.org 
	Sent: Tuesday, April 24, 2012 9:28 AM
	Subject: RE: [Geomoose-users] problem setting up mapbook.xml in 2.6- projection issue

	 

	Page Info/Media didn’t tell me much.  Firebug- here’s what the request was for the parcel layer:

	 

	http://localhost/cgi-bin/mapserv.exe?FORMAT=image%2Fpng%3Bbits%3D8&MAP=%2Fms4w%2Fapps%2Fmaptest%2Fmaps%2F%2Fdemo%2Fparcels%2Fparcels.map&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&LAYERS=parcels&SRS=EPSG%3A26919&BBOX=-787590.97689331,4596412.4907104,1812490.9768933,5403587.5092896&WIDTH=1063&HEIGHT=330

	 

	 

	The BBOX looks a bit weird- notice that it starts with a negative number, in 26919 I’d expect all positive.  Also not able to turn on the USGS data, which I’d hoped would cover my area. (I get pink screen with the USGS data too)

	 

	From: Dan Little [mailto:danlittle at yahoo.com] 
	Sent: Tuesday, April 24, 2012 10:11 AM
	To: Bistrais, Bob; Brian Fischer; geomoose-users at lists.osgeo.org
	Subject: Re: [Geomoose-users] problem setting up mapbook.xml in 2.6- projection issue

	 

	Can you use Firebug or Firefox's "Page Info"'s "Media" tab to take a look at the calls that are being made?  There is probably an XML error that will indicate what is wrong.

		 

		
________________________________


		From: "Bistrais, Bob" <Bob.Bistrais at maine.gov>
		To: Dan Little <danlittle at yahoo.com>; Brian Fischer <bfischer at houstoneng.com>; geomoose-users at lists.osgeo.org 
		Sent: Tuesday, April 24, 2012 8:54 AM
		Subject: RE: [Geomoose-users] problem setting up mapbook.xml in 2.6- projection issue

		 

		Here is what I put in my new projection file.  I am in UTM 19N, which is EPSG:26919…

		Proj4js.defs["EPSG:26919"] = "+title=NAD83 / UTM zone19N +proj=utm +zone=19 +a=6378137.0 +b=6356752.3141403";

		 

		-Still gets the pink screen.  If I use the epsg 26915 file, which is included (and very similar to my 26919), the map will draw without pink screen.

		Does anything look out of place here?

		 

		From: Dan Little [mailto:danlittle at yahoo.com] 
		Sent: Tuesday, April 24, 2012 9:23 AM
		To: Brian Fischer; Bistrais, Bob; geomoose-users at lists.osgeo.org
		Subject: Re: [Geomoose-users] problem setting up mapbook.xml in 2.6- projection issue

		 

		YOU SHOULD NEVER CHANGE ANY SETTINGS IN "settings.ini"  .

		 

		ONLY CHANGE SETTINGS IN "local_settings.ini"  ANY SETTING IN "local_settings.ini" WILL OVERRIDE A SETTING IN "settings.ini"

		 

		You have been warned.

			 

			
________________________________


			From: Brian Fischer <bfischer at houstoneng.com>
			To: "Bistrais, Bob" <Bob.Bistrais at maine.gov>; "geomoose-users at lists.osgeo.org" <geomoose-users at lists.osgeo.org> 
			Sent: Tuesday, April 24, 2012 8:06 AM
			Subject: RE: [Geomoose-users] problem setting up mapbook.xml in 2.6- projection issue

			 

			There are a few more steps you have to take if you are going to change the projection.  Here is a basic list.

			1)      Create a new Proj4js projection definition and put it in htdocs/projections

			2)      In geomoose.html make sure you have a reference to that projection.  You should see a couple other in there now for 3857

			3)      Change the projection in conf/settings.ini

			4)      Change the projection in conf/mapbook.xml

			 

			This should be all you need to do.

			 

			Brian Fischer, CFM

			GIS Manager 

			Houston Engineering, Inc.

			O 763.493.4522 | D 763.493.6664 | M 763.229.2734

			 

			From: geomoose-users-bounces at lists.osgeo.org [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Bistrais, Bob
			Sent: Monday, April 23, 2012 3:27 PM
			To: geomoose-users at lists.osgeo.org
			Subject: [Geomoose-users] problem setting up mapbook.xml in 2.6- projection issue

			 

			I downloaded the latest nightly to get familiar with release 2.6.  I’m afraid I didn’t get very far before the dreaded Pink Screen.  This happened when editing mapbook.xml, about line 11.  The parameter is the projection, EPSG:3857.  My data is in EPSG:26919.  If I change that line to 26919, the map screen goes pink.  I can’t find any errors in Firebug or the error.txt.  Any suggestions?

			
			_______________________________________________
			Geomoose-users mailing list
			Geomoose-users at lists.osgeo.org
			http://lists.osgeo.org/mailman/listinfo/geomoose-users

		 

	 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20120424/82290146/attachment-0001.html


More information about the Geomoose-users mailing list