On Wed, Oct 30, 2013 at 10:03 PM, Alvey,David (Chief Executives) <
[email protected]> wrote:

>  I am at my wits end with this one as I know it will be something small.
>
>
>
> I have connected up to a sql database and managed to add a layer by
> creating a new sql view.
>
>
>
> I can output the view using the gml preview but kml fails with a
> java.lang.NullPointerException
>
> null:
>
>
>
> <gml:featureMember><TrackYou:Current_Gritting_Activity
> fid="Current_Gritting_Activity.5"><TrackYou:registration>GL66</TrackYou:registration><TrackYou:activity>Control
> Box
> On</TrackYou:activity><TrackYou:datetime>2013-10-28T08:24:00</TrackYou:datetime><TrackYou:latitude>53.1601166670</TrackYou:latitude><TrackYou:longitude>-1.5915388890</TrackYou:longitude><TrackYou:geom><gml:Point
> srsName="http://www.opengis.net/gml/srs/epsg.xml#4326";><gml:coordinates
> decimal="." cs="," ts="
> ">-1.59153889,53.16011667</gml:coordinates></gml:Point></TrackYou:geom></TrackYou:Current_Gritting_Activity></gml:featureMember>
>
>
>
>
> I can download a shapefile and the points work but when looking at the
> Open Layers preview or using Leaflet the tile images do load but they are
> blank are blank.
>

So outputs using the style break, whilst WFS outputs not using any style
work.
It seems there is a relationship. Have you tried looking into the style, or
checking how things work using the point style?
(assuming, of course, that the point style is still the default one)

Cheers
Andrea


-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to