<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=117254714-25072006><FONT face=Arial
color=#0000ff size=2>Kevin,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=117254714-25072006><FONT face=Arial
color=#0000ff size=2>try to test this with shp2img and see if that works. If you
do get an image output as expected, then you probably have a permissions problem
with the internet user. What platform / server are you working
with?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=117254714-25072006><FONT face=Arial
color=#0000ff size=2>I am currently experiencing this problem with Windows 2000
Server with IIS5. I'm trying to point to a .csv file and I can't get my mapfile
to work, but ogrinfo and shp2img command line work fine.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=117254714-25072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=117254714-25072006><FONT face=Arial
color=#0000ff size=2>Then I set up a little php file to take mapserver out of
the equation entirely and just used php and odbc to connect to the data and it
fails. So - it's a permissions problem, but I still haven't figured out how to
fix it.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=117254714-25072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=117254714-25072006><FONT face=Arial
color=#0000ff size=2>What is the error message that you're
getting?</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=117254714-25072006><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=117254714-25072006><FONT face=Arial
color=#0000ff size=2>D.Pagurek</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List
[mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Kevin
Flanders<BR><B>Sent:</B> Monday, July 24, 2006 5:20 PM<BR><B>To:</B>
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] virtual
spatial data fails<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><FONT face=Arial size=2><SPAN class=125215720-24072006>I am trying to add a
virtual spatial data layer to my project and failing! I have created my
DSN, and tested it successfully with ogrinfo. I then added the following
to my mapfile:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=125215720-24072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=125215720-24072006>
LAYER<BR> NAME "Permits"<BR> GROUP
"Permits"<BR> CONNECTION
"<OGRVRTDataSource><BR> <OGRVRTLayer
name='permitsummary'><BR>
<SrcDataSource>ODBC:@Data_txt</SrcDataSource><BR>
<SrcLayer>permitsummary.csv</SrcLayer><BR>
<GeometryField encoding='PointFromColumns' x='X_COORD' y='Y_COORD'
/><BR>
<GeometryType>wkbPoint</GeometryType><BR>
</OGRVRTLayer><BR>
</OGRVRTDataSource>"<BR> CONNECTIONTYPE
OGR<BR> DATA "permitsummary"<BR>
METADATA<BR> "wms_srs"
"88888"<BR> "wms_title" "Permit
Points"<BR> END<BR> STATUS
on<BR> TOLERANCE 5<BR> SIZEUNITS
pixels<BR> TYPE POINT<BR>
CLASS<BR> NAME
"Permits"<BR> COLOR 255 0
0<BR> OUTLINECOLOR 0 0
0<BR> SIZE 10<BR> END<BR>
END<BR></SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=125215720-24072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=125215720-24072006>My map will not
draw....any ideas?</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=125215720-24072006></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=125215720-24072006> </DIV></SPAN></FONT>
<P><BIG><FONT size=2><BIG>Kevin </BIG></FONT></BIG></P></BODY></HTML>