source: DPPP/kml/csml2kml/python/notes.txt @ 3505

Subversion URL:
Revision 3505, 2.8 KB checked in by mkochan, 13 years ago (diff)

Progressed on implementing WMS Layers -> KML conversion (before testing).

1[x] long term task
2[+] curious about
3[.] minor issue
4[o] important but can wait
5[O] current/urgent
8|| WMSLayersConvertor ___/
10[O] Handle time zones in datetime objects.
11[O] Create an active class that takes in the Layers XML and a config file and spits out either a single KML file
12    or a directory structure with KML files as leaves.
13[o] Consider whether it is appropriate for WMSLayersConvertor to be in the "csml2kml" package, given that it
14     does *not* involve CSML along the way (possibly CSML could later get involved, so better to keep it as an example).
15[o] For now, keeping a config file (using 'ar4.conf.xml'), for some stuff at least, but consider whether not to dump this
16    and pass everything in Python -- consult with Stephen during presentation.
19|| * ___/
21[o] Write functionality for reading in XML effectively and resolving namespaces.
22[o] Make the "tests" contain 3 dirs: python, testdata, and testoutputs; for that reason probably move "tests"
23    from the CSML2KML egg and create a separate, testing, egg.
24[o] Put into ~/eggs a dynamic link to the CSML2KML, and the path from $PYTHONPATH -- this is a more "always-ready" approach.
25[o] Update Wiki. Split into two parts:
26    * what normally would be a Software Design Document (something that a programmer would to get a broad idea
27      about code before looking at it, including how to run the tests).
28    * what normally would be a Software Installation Guide.
29    * can designate individual classes as "active" or "passive" classes. All the classes which are there
30      as representations of some XML tags are passive: they just wrap XML, and expect all information from
31      the outside. But classes such as GridSeriesConvertor are active -- they actually perform the conversion.
32[o] Update documentation -- make sure all Python files have headers, and all functions' headers
33    have the @param (mentioning types) and @return tags.
34[o] Resolve slow functioning of wget()
35[o] Use Element.find(...) in parsing XML -- investigate how to do it easily with namespaces
36    (otherwise need code to translate between the "namespace:name" notation and "{namespace_path}name" notation).
37    Currently code is parsed so that changing order of XML elements will break it -- not very robust.
39[x] Resolve security in pylons controllers
40[x] Possibility of clicking on a globe and getting info for a certain feature (i.e. the value profile for that
41    location) -- Dominic said there is a function in the CSML API which allows doing that -- investigate
42[x] Superimposing PointSeries locations onto WMS-generated grid
44[+] Assertion and type checking in Python
Note: See TracBrowser for help on using the repository browser.