Permalink
Browse files

adding a couple gml files

  • Loading branch information...
1 parent c0af384 commit c419462ace8566e13914e2b4dcbdbad8c0e344f3 @keegan3d keegan3d committed Mar 8, 2010
Showing with 25,783 additions and 4 deletions.
  1. +1,879 −0 SampleGML/127.gml
  2. +7,226 −0 SampleGML/134.gml
  3. +5,000 −0 SampleGML/140.gml
  4. +6,476 −0 SampleGML/147.gml
  5. 0 { → SampleGML}/155.gml
  6. +2,407 −0 SampleGML/159.gml
  7. +2,791 −0 SampleGML/160.gml
  8. BIN gml-file.png
  9. +4 −4 libdev.py
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
File renamed without changes.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -2,15 +2,15 @@
import urllib
#this file is only for testing the library
if __name__ == '__main__':
- gmlFile = urllib.urlopen('http://000000book.com/data/154.gml')
- #gmlFile = open('155.gml', 'r')
+ #gmlFile = urllib.urlopen('http://000000book.com/data/154.gml')
+ gmlFile = open('SampleGML/140.gml', 'r')
gml = GML(gmlFile)
gmlFile.close()
print gml.client()
- print gml.client().get('name')
+ #print gml.client().get('name')
print gml.environment()
- print gml.environment().get('screenBounds').x
+ #print gml.environment().get('screenBounds').x
for stroke in gml.iterStrokes():
for point in stroke.iterPoints():
print point

0 comments on commit c419462

Please sign in to comment.