Dear Nedjo,
I've made a little progress since my last email.
All my files (*.php, *.svg, *.js) are in the one directory 'geoclient' under
localhost and I can access them using the URL http://localhost/geoclient/
I found that when I edited the 'capabilities.php' and replaced the string
"<?=$thePath?>" with the URL of the WFS
"http://localhost/geoclient/simple_wfs.php" I can get as far as displaying
the keymap box with the correct legend /symbol for the layer underneath.
However, no maps are displayed. I noted in the script prompt for the
featureCollections that they were empty, i.e.,
<featureCollections> </featureCollections>
and this was followed by a javascript runtime error:
'eldnl' is undefined.
I'll continue to experiment and watch for any new releases. Thank you for
providing the program. I look forward to using SVG for mapping.
Best regards,
Éamonn
_____________________________________
Éamonn Ó Tuama
Coastal & Marine Resources Centre, UCC
-----Original Message-----
From: Nedjo Rogers
To: Éamonn; geoserver-devel@lists.sourceforge.net
Sent: 09/12/02 05:59
Subject: Re: [Geoserver-devel] getting geoclient to work?
Thanks for the note. Given the security violation message, the problem
may
involve a security restriction in the Adobe SVG Viewer, which will use
the
proprietary function postXML() to post XML to (and retreive XML from)
only
the "originating server"--that is, I believe, a server on the domain
from
which the SVG file was downloaded. So as a first step check to make
sure
the WFS address you're giving is in the same domain - optimally,
perhaps, in
the same directory - as the SVG page.
Nedjo Rogers
----- Original Message -----
From: Ó Tuama, Éamonn <e.otuama@anonymised.com>
To: <geoserver-devel@lists.sourceforge.net>
Sent: Wednesday, December 04, 2002 2:20 AM
Subject: [Geoserver-devel] getting geoclient to work?
Hi,
I'm trying to get Geoclient up and running.
I think I have all the pieces in place on my Windows XP system:
- Apache2,
- PHP 4.2.3
- MySQL 3.23
I know Apache and PHP are talking as a test file calling phpinfo()
works.
PHP and MySQL also work together as loading a PHP/database test file is
also
successful.
I've followed the instructions:
- exported a shape file from ArcView using av2svg and loaded it into
MySQL;
- edited the resulting connect.php file with correct username and
password;
- included the optional svg file which I also exported.
The static svg file works successfully.
However, when I run Apache and try to load geoclient.svg, I get the
following error notices in two successive pop-up windows:
Window 1
---------------------
Script error window
Security violation
line:9, column: 28
---------------------
Window 2
--------------------------------------
Microsoft JScript runtime error window
'the EPD' is null or not an object
line: 307, column: 4
--------------------------------------
I'm guessing the second window message is because no data was loaded.
But
what does the first script error in window 1 mean?
Any suggestions/help appreciated and thanks to the Geoserver team for
all
their work so far.
Regards,
Eamonn
_____________________________________
Éamonn Ó Tuama
Coastal & Marine Resources Centre, UCC
-------------------------------------------------------
This SF.net email is sponsored by: Microsoft Visual Studio.NET
comprehensive development tool, built to increase your
productivity. Try a free online hosted session at:
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr0003en
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel