[mapserver-users] RE: mapserver-users Digest, Vol 47, Issue 48

Mark Volz MarkVolz at co.lyon.mn.us
Tue Dec 20 10:01:15 PST 2011


Judging by your e-mail address you might want to check the extent.  That extent appears to be valid for part of the Midwest USA.

P.S.  I don't know if extent matters.


Mark Volz
GIS Specialist

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of mapserver-users-request at lists.osgeo.org
Sent: Tuesday, December 20, 2011 11:00 AM
To: mapserver-users at lists.osgeo.org
Subject: mapserver-users Digest, Vol 47, Issue 48

Send mapserver-users mailing list submissions to
	mapserver-users at lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.osgeo.org/mailman/listinfo/mapserver-users
or, via email, send a message with subject or body 'help' to
	mapserver-users-request at lists.osgeo.org

You can reach the person managing the list at
	mapserver-users-owner at lists.osgeo.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of mapserver-users digest..."


Today's Topics:

   1. Re: Shape File not appearing (knasia)
   2. Re: Re: Shape File not appearing (forums)
   3. Re: Re: Some PointSymbolizer values are being	ignored. SLD
      Syntax problem? (thomas bonfort)


----------------------------------------------------------------------

Message: 1
Date: Mon, 19 Dec 2011 22:25:09 -0800 (PST)
From: knasia <knasia at poczta.fm>
Subject: [mapserver-users] Re: Shape File not appearing
To: mapserver-users at lists.osgeo.org
Message-ID: <1324362309002-7110856.post at n2.nabble.com>
Content-Type: text/plain; charset=us-ascii

My mapfile generates tile which is empty (white).

My mapfile contains a code which is beneath:

MAP
 NAME name	
 STATUS ON
 OUTPUTFORMAT
  NAME png
  DRIVER "GD/PNG"
  MIMETYPE "image/png"
  TRANSPARENT ON
  IMAGEMODE RGB
  EXTENSION "png"
 END
 SIZE 256 256
 EXTENT         -97.238976 41.619778 -82.122902 49.385620
UNITS METERS
SHAPEPATH "/pathToShapes/shapes/"

 WEB
 TEMPLATE "myPage.php"
	IMAGEPATH "/path/"
	IMAGEURL "validURL"
  END

  QUERYMAP
  SIZE 256 256
  STATUS ON
  STYLE HILITE
  COLOR 255 0 0
 END

	LAYER
		NAME map1
			PROJECTION
				"init=epsg:4326"
			END
			TYPE LINE
			STATUS ON
			DATA "waterways" 
			CLASS
				NAME "test"
				OUTLINECOLOR 0 0 0
			END
	
	END #end of layer
 END
END


My shapefiles are in folder shapes and there are 3 files:
waterways.shp
waterways.shx
waterways.dbf

Could you help?

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Shape-File-not-appearing-tp6896942p7110856.html
Sent from the Mapserver - User mailing list archive at Nabble.com.


------------------------------

Message: 2
Date: Tue, 20 Dec 2011 06:34:34 -0600
From: forums <forums at craniumjuice.com>
Subject: Re: [mapserver-users] Re: Shape File not appearing
To: knasia <knasia at poczta.fm>
Cc: mapserver-users at lists.osgeo.org
Message-ID:
	<CACC0xJ+10AUUbfVJmnDopbHAO7oFJWWyKyYJSbV94BodsB9xUw at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

What units are in your shapefile?  The thing that jumps out at me, is your units is in Meters.  So the extent gives about at 15x8m view.  That's pretty small.
Maybe comment out the  UNITS METERS part just to see how it goes.

Jerl

On Tue, Dec 20, 2011 at 12:25 AM, knasia <knasia at poczta.fm> wrote:

> My mapfile generates tile which is empty (white).
>
> My mapfile contains a code which is beneath:
>
> MAP
>  NAME name
>  STATUS ON
>  OUTPUTFORMAT
>  NAME png
>  DRIVER "GD/PNG"
>  MIMETYPE "image/png"
>  TRANSPARENT ON
>  IMAGEMODE RGB
>  EXTENSION "png"
>  END
>  SIZE 256 256
>  EXTENT         -97.238976 41.619778 -82.122902 49.385620
> UNITS METERS
> SHAPEPATH "/pathToShapes/shapes/"
>
>  WEB
>  TEMPLATE "myPage.php"
>        IMAGEPATH "/path/"
>        IMAGEURL "validURL"
>  END
>
>  QUERYMAP
>  SIZE 256 256
>  STATUS ON
>  STYLE HILITE
>  COLOR 255 0 0
>  END
>
>        LAYER
>                NAME map1
>                        PROJECTION
>                                "init=epsg:4326"
>                        END
>                        TYPE LINE
>                        STATUS ON
>                        DATA "waterways"
>                        CLASS
>                                NAME "test"
>                                OUTLINECOLOR 0 0 0
>                        END
>
>        END #end of layer
>  END
> END
>
>
> My shapefiles are in folder shapes and there are 3 files:
> waterways.shp
> waterways.shx
> waterways.dbf
>
> Could you help?
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/Shape-File-not-appearing-tp6896
> 942p7110856.html Sent from the Mapserver - User mailing list archive 
> at Nabble.com.
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>





More information about the MapServer-users mailing list