What do I write in DATA when working with mygis??
Björn Platzen
bjoern.platzen at MOMATEC.DE
Thu Nov 18 23:28:37 PST 2004
Hello List,
my problem is not yet solved, though I tried a lot since my last post...
First of all I enabled debugging in my mapserver-compilation (btw. it's
4.4-beta2) and when I tried to define: DATA "GEOMETRY FROM mydata
FEATURE, mydata_bin GEOMETRY" I got a long error-message that told me, I
should only do DATA "geometry_column from spatial_table" (that would be
"GEOMETRY_WKB from mydata_bin" in my case).
But when I use the above statement in DATA, it seems as if the statement
is not even fired in mysql. The connect is the only thing I can see in
my mysql-logfile and the mapserver does not produce any error
messages...
Is there really nobody out there, who could help??
Cheers,
Bjoern.
P.S.: that was my last posting :
> I put some data from a shapefile into my mySQL database,
> using the shp2mysql.pl-Script.
>
> In the documentation (WIKI) it's said, that DATA has to be
> something like DATA "geometry from TELEFON_LINE feature,
> TELEFON_LINE_bin geometry"
>
> In my mySQL-database, I've got a table mydata_bin which has
> the columnsGID, XMIN, YMIN,XMAX,YMAX,GEOMETRY_WKB and I've
> got a table called mydata_num with some columns called
> X1,X2,Y1,Y2, GID, ESEQ, ETYPE, SEQ.
>
> So, I don't really know how to "translate" the example from
> the WIKI for my database...
More information about the MapServer-users
mailing list