Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

de.micromata.opengis is lost. 选项 #38

Open
GoogleCodeExporter opened this issue Jun 29, 2015 · 0 comments
Open

de.micromata.opengis is lost. 选项 #38

GoogleCodeExporter opened this issue Jun 29, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Hello Reader 
  I want to import KML file, in wwj for that which class I have to 
use. 
In my system I have Google earth while double clicking newyork.kml 
file it directly opens google earth and point out the place.In same 
way how to import KML in worldwind  also. 
   I download a direct example from http://labs.micromata.de/display/jak/HelloKML+%28Quickstart%29 
, then when i imported eclipse, it's wrong, so what can i do next? 

package de.micromata.jak.examples; 


import java.io.File; 
import java.io.FileNotFoundException; 


import de.micromata.opengis.kml.v_2_2_0.Kml; 


public class HelloKML { 


        /** 
         * HelloKML Sample project 
         */ 
        public static void main(String[] args) throws FileNotFoundException { 
                final Kml kml = new Kml(); 
                kml.createAndSetPlacemark() 
                   .withName("London, UK").withOpen(Boolean.TRUE) 
                                .createAndSetPoint().addToCoordinates(-0.126236, 51.500152); 
                //marshals to console 
                kml.marshal(); 
                //marshals into file 
                kml.marshal(new File("HelloKml.kml")); 
        } 



} 


It's warned de.micromata.opengis is lost. 

Waiting for your reply..  Thank you very much. 



Original issue reported on code.google.com by linbojin...@gmail.com on 10 Mar 2012 at 1:33

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant