Hi list,
I am new to geotools and total noob. Please be patient with me :)
I am trying to display radar image in my java app.
It's in kmz format and inside is one png and one kml file.
I don't know if i can pull kmz directly so i've unzipped the kmz file
and tried to parse it.
Error is:
org.xml.sax.SAXParseException; lineNumber: 6; columnNumber: 16; The
prefix "edge" for element "edge:Moment" is not bound.
It gives me problems here:
Parser parser = new Parser(new KMLConfiguration());
SimpleFeature sf = (SimpleFeature) parser.parse(new
FileInputStream("/tmp/test.kml"));
I have already managed to load shape file from a tutorial and on that
map i am trying to add png layer.
doc.kml content:
<kml xmlns="http://earth.google.com/kml/2.2">
<Folder>
<name>TEST</name>
<ExtendedData xmlns:edge="http://test.com">
<edge:Moment>Intensity (Horizontal)</edge:Moment>
<edge:MomentAbbreviation>ZH</edge:MomentAbbreviation>
</ExtendedData>
<lookAt>
<longitude>37.60608863830566</longitude>
<latitude>74.5832633972168</latitude>
</lookAt>
<GroundOverlay>
<Icon>
<href>TEST.png</href>
</Icon>
<LatLonBox>
<north>86.8325650259773</north>
<south>82.33307233825722</south>
<east>60.7524984777517</east>
<west>44.45967879885962</west>
</LatLonBox>
</GroundOverlay>
</Folder>
</kml>
Can you please help me get that png on top of the shp file?
Thank you,
Igor
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users