[Geomoose-users] Popups with OVF layer
Dan Little
danlittle at yahoo.com
Mon Apr 27 12:31:17 EDT 2009
That really doesn't answer my question... can you view what Mapserver is returning in firebug?
I've got ZERO experience with OVF layers so it's sorta important that we can see what Mapserver thinks is going on...
________________________________
From: Jay Kapalczynski <jkapalczynski at ci.maple-grove.mn.us>
To: Dan Little <danlittle at yahoo.com>; "geomoose-users at lists.sourceforge.net" <geomoose-users at lists.sourceforge.net>; "geomoose-developers at lists.sourceforge.net" <geomoose-developers at lists.sourceforge.net>
Sent: Monday, April 27, 2009 10:40:01 AM
Subject: RE: [Geomoose-users] Popups with OVF layer
For starters I get: “popups unavailable for this layer”
From:Dan Little
[mailto:danlittle at yahoo.com]
Sent: Friday, April 24, 2009 3:52 PM
To: Jay Kapalczynski; geomoose-users at lists.sourceforge.net;
geomoose-developers at lists.sourceforge.net
Subject: Re: [Geomoose-users] Popups with OVF layer
What
is mapserver returning?
________________________________
From:Jay Kapalczynski
<jkapalczynski at ci.maple-grove.mn.us>
To: "geomoose-users at lists.sourceforge.net"
<geomoose-users at lists.sourceforge.net>;
"geomoose-developers at lists.sourceforge.net" <geomoose-developers at lists.sourceforge.net>
Sent: Tuesday, April 21, 2009 8:30:06 AM
Subject: [Geomoose-users] Popups with OVF layer
I
created a couple points via a .ovf file…the data resides in a MySQL table.
The
points show up fine but was wondering if anyone has tried or knows if possible
to use popups on these…
I
tried this but I cannot get it to work…
NOTE:
this is a point feature
Anyone
have any thoughts?
Thanks
IMAGEMAP_RECORD.xml
<popup shape='point' coords='[shpxy
xf="," yf="," proj=image]'>
<title>Parcels:.........[PID]</title>
</popup>
THE .MAP FILE
LAYER # Points from the MySQL Database
NAME Highlights
STATUS DEFAULT
TYPE POINT
CONNECTIONTYPE OGR
CONNECTION
'./HighlightedParcels1.ovf'
DATA 'HighlightData'
CLASS
#NAME "ID"
STYLE
SYMBOL "star"
SIZE 25
COLOR 255 255 0
END
END
HEADER 'imagemap_header.xml'
TEMPLATE
'imagemap_record.xml'
FOOTER 'imagemap_footer.xml'
END
OVF FILE
<OGRVRTDataSource>
<OGRVRTLayer
name="HighlightData">
<SrcDataSource>MYSQL:coordinates_database,user=Jay,password=Letmein,host=127.0.0.1,port=3306,tables=highlight</SrcDataSource>
<SrcSQL>SELECT X,Y,ID,PID FROM highlight</SrcSQL>
<GeometryType>wkbPoint</GeometryType>
<GeometryField encoding="PointFromColumns" x="X"
y="Y"/>
</OGRVRTLayer>
</OGRVRTDataSource>
-------------- next part --------------
Skipped content of type multipart/related
More information about the Geomoose-users
mailing list