I am working with processing to make a tool that maps populated places by gps coordinates. My data comes from the National Geospacial Intelligence Agency. Using code borrowed from other sources as well as suggestions from members of this forum (phi.lho and jeff_g), I have reached a point where I feel the sketch works pretty well. However...
I can see two major problems with the sketch so far. First, the large amount of data takes a long time to load. Second, the amount of points required to display all the populated places of the earth would exceed a few million points (difficult to do while maintaining a good frame rate).
At this point I am looking for any advice on anything from optimizing the code, to conceptually making the program better.
Thank you all for your continuing help with processing, as well as being patient with my lack of understanding.
-Ben
Here a link to a few xml files I have used to test the sketch
In the above sketch, he is able to display a few hundred thousand points while maintaining 30frames/sec. My sketch began locking up after a few thousand points. I would like to use xml to import the data. Ideally, I would like to display more than a million points (at 30fr/sec). Is this possible using the method I am currently using (i.e. importing the points through xml)? Can this code be made more efficient?
I am very new to processing. I am working on a project to help me learn, and I am having trouble extracting data out of an svg file.
I have been able to display an svg image (using code borrowed from the geomerative tutorials). What I would like to do is extract the "id" tag from the svg file and print the resulting text.