Thanks - I'll give it a shot. Linda Derezinski wrote: > Oh so you have your data in an WFS great. Then take the geobliki example > and here are the steps to get you up and running in no time: > > 1) check that the geobliki demo runs on your machine (want to make sure that > you have the proxy code working first before we start editing anything) > 2) copy the contents of the geobliki directory into another one > 3) edit config.xml > a) change to be your wfs address: > <webServiceUrl>http://eo1.geobliki.com/wfs</webServiceUrl> > b) change eo1 to your namespace(s) add all of the ones from your data > <namespace>xmlns:gml='http://www.opengis.net/gml' > xmlns:eo1='http://eo1.gsfc.nasa.gov/' xmlns:wfs='http://www.opengis.net/wfs' > xmlns:ows='http://www.opengis.net/ows'</namespace> > > c) change to match your data (in theory this should be the same, but in > case) <nodeSelectXpath>//gml:featureMember</nodeSelectXpath> > > d) change to tell which element contains your data name (the name field > for your feature) <featureTagName>eo1:name</featureTagName> > > e) change to match your gml location element name > <coordsTagName>eo1:location</coordsTagName> > > <coordSelectXpath>//eo1:location/gml:Point/gml:pos</coordSelectXpath> > > 4) edit datapopup.xsl. It is the stylesheet which processes the child > elements of the nodeSelectXpath (defined in config.xml). This is how you > set the contents of the popup window. > 5) edit index.html: change the combo box to list your features (so replace > ali and hyperion) > 6) edit Demisworldmap.xml to point at your WMS of choice right now it's > using Demis. You can add more than one layer if needed. > > This should get you started. > > -Linda > On 6/29/07 4:12 PM, "Amy Johnson" <[EMAIL PROTECTED]> wrote: > > >> Yes, as far as AJAX goes, I'm figuring that out. >> >> I've been looking at wfsGetFeature and it doesn't output data the way I >> want, so I've been trying to understand how to alter it. I understand >> that I need to go in and edit FeatureList.xsl to change that format, but >> I'm not sure that that's the best method. I'm wondering if, instead of >> attaching data to the dbf that goes with my feature layer, should I have >> it in another file, then use AJAX to retrieve it? >> >> thanks, >> >> Amy >> >> Linda Derezinski wrote: >> >>> Have you looked at the demos? >>> http://www.communitymapbuilder.org/display/MAP/Examples >>> >>> Are you able to find one which is close to what you wish to do? >>> >>> How is your data stored? The Times series, GeoRSS Ship track and WFS query >>> are some of examples which be one point for you. >>> >>> As to where AJAX is used, that would be everywhere :) >>> -Linda >>> >>> >>> On 6/29/07 12:47 AM, "Amy Johnson" <[EMAIL PROTECTED]> wrote: >>> >>> >>> >>>> Where does Ajax get used in Mapbuilder? I'm trying to understand the >>>> best way to retrieve and display data, and I'm wondering where I would >>>> use Ajax. >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by DB2 Express >>>> Download DB2 Express C - the FREE version of DB2 express and take >>>> control of your XML. No limits. Just data. Click to get it now. >>>> http://sourceforge.net/powerbar/db2/ >>>> _______________________________________________ >>>> Mapbuilder-users mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users >>>> >>>> >>> >>> >>> > > > >
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Mapbuilder-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
