[Proj] Shapefile and EXTENTS

Matthew Roberson matt at msileads.com
Mon May 9 18:15:30 EDT 2005


Yes, below are the contents of the map file.  I will post my question 
to the mapserver list as you suggested.

MAP
     NAME MO
     IMAGETYPE GIF
     SIZE 6000 6000
     IMAGECOLOR 240 240 240
     SHAPEPATH "/Library/WebServer/Documents/data"
     FONTSET "/Library/fonts/fonts.list"
     EXTENT -7567149.62 5525023.18 -6798293.00 5830370.88
     UNITS METERS
     WEB
         IMAGEPATH "/Library/WebServer/Documents/test/"
         IMAGEURL "/test/"
     END

  	PROJECTION
  		"init=epsg:26797"
	END
	
	LEGEND
		STATUS EMBED
		POSITION UR
	END

	SCALEBAR
		TRANSPARENT ON
		BACKGROUNDCOLOR 254 254 254
		STATUS EMBED
		POSITION LR
		STYLE 1
	END

		LAYER
			NAME "MO zip code boundaries"
			DATA "zt29_d00"
			STATUS DEFAULT
			TYPE POLYGON
			PROJECTION
				"init=epsg:26797"
			END			
			LABELITEM "ZCTA"
			CLASS
				COLOR 254 0 0
					LABEL
						COLOR 60 60 60
						SHADOWCOLOR 218 218 218
						SHADOWSIZE 1 1
						TYPE TRUETYPE
						FONT arialhb
						SIZE 10
						ANTIALIAS TRUE
						POSITION CL
						PARTIALS FALSE
						MINDISTANCE 5
						BUFFER 4
					END
				OUTLINECOLOR 60 60 60
				SYMBOL 0
			END
		END

		LAYER
			NAME "credits"
			STATUS DEFAULT
			TRANSFORM FALSE
			TYPE ANNOTATION
			FEATURE
				POINTS
					10 680
				END
				TEXT 'Made with Mapserver.'
			END
			CLASS
				LABEL
					TYPE BITMAP
					POSITION CR
					COLOR 0 0 0
				END
			END
		END


END

Thanks,

Matt

On May 9, 2005, at 5:09 PM, Craig Miller wrote:

> Could you send you .map file?   I think the mapserver list would be 
> better
> btw.
>
> -Craig
>
>
> -----Original Message-----
> From: Matthew Roberson [mailto:matt at msileads.com]
> Sent: Monday, May 09, 2005 2:43 PM
> To: proj at xserve.flids.com
> Subject: [Proj] Shapefile and EXTENTS
>
> I am trying to do a project a map of the state of Missouri that was
> created by the US Census Bureau(zt29_d00.shp).
>
> I used ogrinfo to get the following information about the EXTENT:
>
> [imac-dev03:~/Documents] matthewr% ogrinfo -so zt29_d00.shp zt29_d00
> INFO: Open of `zt29_d00.shp'
> using driver `ESRI Shapefile' successful.
>
> Layer name: zt29_d00
> Geometry: Polygon
> Feature Count: 1341
> Extent: (-95.774704, 35.995683) - (-89.098843, 40.613640)
> Layer SRS WKT:
> (unknown)
> AREA: Real (20.5)
> PERIMETER: Real (20.5)
> ZT29_D00_: Integer (11.0)
> ZT29_D00_I: Integer (11.0)
> ZCTA: String (5.0)
> NAME: String (90.0)
> LSAD: String (2.0)
> LSAD_TRANS: String (50.0)
>
> Then, I used proj4 to find lat long values for the a Lambert Azimuthal
> Equal Area projection.
>
> [imac-dev03:~/Documents] matthewr% proj +proj=laea +ellps=clrk66 +R_A
> -95.774704 35.995683
> -7567149.62     5525023.18
> -89.098843 40.613640
> -6798293.00     5830370.88
>
> When I use these values with MapServer to make a map, nothing shows up.
>   Am I missing something.  Should I post this question in this list or
> in the MapServer User's group? Any help would be appreciated.
>
> Thanks,
>
> Matt
>
> _______________________________________________
> Proj mailing list
> Proj at xserve.flids.com
> http://xserve.flids.com/mailman/listinfo/proj
>
>
>
>
> _______________________________________________
> Proj mailing list
> Proj at xserve.flids.com
> http://xserve.flids.com/mailman/listinfo/proj




More information about the Proj mailing list