Sorry I haven't had time to look at this since Monday.
WFS seems to work fine (except for the long standing problem that the features are in the gml namespace and not the feature's namespace).
I've tried -
I won't get a chance to look at this again for another week now.
Richard Shaw
¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤
Richard Shaw
Technical Design Authority - Information Solutions Consultancy
Intelligent Transport Systems
Atkins Highways and Transportation
Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW
Tel: +44 (0) 1372 756407
Fax: +44 (0) 1372 740055
Mob: 07740 817586
E-mail: richard.shaw@anonymised.com
www.atkinsglobal.com/its
-----Original Message-----
From: Chris Holmes [mailto:cholmes@anonymised.com]
Sent: 13 November 2006 15:33
To: Andrea Aime
Cc: Shaw, Richard A; geoserver-devel@lists.sourceforge.net
Subject: Re: [Geoserver-devel] Has the MySQL data source been broken
There's a chance that MySQL never got updated to properly use CRS stuff.
I can check in to this later today, figure out where the problems in MySQL might be, and point to the correct way that they are done in PostGIS.
MySQL is remarkably similar to PostGIS, so the easiest thing to do is just compare against it. PostGIS has been kept much more up to date.
But yes, let us know about the WFS request.
best regards,
Chris
Andrea Aime wrote:
Shaw, Richard A ha scritto:
I've change the code in MySQLDataStoreFactory.createDataStore to pass
the database name instead of the namespace name into the constructor
of the DataStore - this stops it adding the http... Namespace as the
table name in the SQL which gave the error. However, it now doesn't
return any data.I have put a breakpoint in just before it creates the FeatureReader
and the db connection has the correct database name and the SQL
statement is correct (it works if I cut and past from the debugger to
MySQL query browser) but I don't get any data shown on the map, I can
see it loading the record in the StreamingRenderer - but I haven't
got time to look any further today.Interesting. Try and do two things:
* try a wfs query against the datastore. Do you get results?
If not, there is something really wrong in the datastore itself.
* if you get results, you're probably having a mismatch between
CRS geoserver thinks the data is in, and the actual CRS. May it be?
That would explain why you don't see data.
Another reason could be an inconsistent symbolizer (polygon symbolizer
and only line data) or some rule in the SLD that prevents
visualization (scale limits for example).Hope this helps
Andrea Aime----------------------------------------------------------------------
--- Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on
Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216
42 _______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel!DSPAM:1003,45587e09187551995013331!
--
Chris Holmes
The Open Planning Project
http://topp.openplans.org
This message has been scanned for viruses by MailControl - (see http://bluepages.wsatkins.co.uk/?4318150)
This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.