[mapserver-users] SDE query in 3.5

Jensen, Hannah ERDC-CRREL-NH Hannah.Jensen at erdc.usace.army.mil
Thu Jan 24 11:05:35 PST 2002


Hi, all.  I'm having trouble doing queries against SDE using MapServer 3.5.
It displays fine, just won't do spatial queries.  I get '500 Internal Server
Error' and Apache's error log reads 'Premature end of script headers'.  I'm
fairly certain I'm missing something obvious here, in which case I
apologize.  Below is my map file excerpt, which works if I use a shapefile
instead.  As always, any info is much appreciated.  Thanks!


LAYER
	NAME qdams
  	CONNECTION "myhost,myinstance,myuser,myuser,mypasswd"
  	CONNECTIONTYPE sde
  	DATA "myuser.dams,shape"
	STATUS default
	TYPE point
	CLASS
		SYMBOL 'circle'
		COLOR 0 255 0
		SIZE 6
	END
  	TEMPLATE "damquery.html"
	TOLERANCE 20
END



Cheers,
Hannah


Hannah Jensen
(603) 646-4145	
Remote Sensing / GIS Center
Cold Regions Research and Engineering Lab (CRREL)
US Army Corps of Engineers
72 Lyme Rd, Hanover, NH 03755-1290





More information about the MapServer-users mailing list