geo_query_catalog 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +49 -0
  3. data/gen.py +31 -0
  4. data/lib/geo_query_catalog.rb +7 -0
  5. metadata +77 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 9a9fe3ee5c7bb662123ace36f8b36d3ba0e1477988ed7e3636f001ce52e4960f
4
+ data.tar.gz: d4a0237f7cddb954ef6989ebcc0347ec58e56999444da321d580b5b59fac5550
5
+ SHA512:
6
+ metadata.gz: f72a970cc2168abf10586f26d326cf71f7e66f2224d9ac9ca79480a306420bfc8b2790de62ad90e6991e629f32e70a6c38efc3c613e1b32c206f8bd25bb7b5f1
7
+ data.tar.gz: 7720d19c55238782df088a0b3d621aba4cc6119e341b361a33202e9427b02c1ab257c7f16d58b1fac45ac8defcde8d63d04410da306cd0ab15c30efdeb8b6658
data/README.md ADDED
@@ -0,0 +1,49 @@
1
+ # Geo Query Catalog
2
+
3
+ Useful links to public survey query examples.
4
+
5
+ ## S street examples
6
+
7
+ * [S Argonne Drive page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=&land_lot=&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Argonne+Drive)
8
+ * [S Argonne Drive page 2](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=&land_lot=&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Argonne+Drive&page=2)
9
+ * [S Meadowbrook Lane page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=&land_lot=&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Meadowbrook+Lane)
10
+ * [S Meadowbrook Lane page 2](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=&land_lot=&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Meadowbrook+Lane&page=2)
11
+ * [S Rickenbacker Circle page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=&land_lot=&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Rickenbacker+Circle)
12
+ * [S Wendell Way page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=&land_lot=&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Wendell+Way)
13
+ * [S Pershing Way page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=&land_lot=&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Pershing+Way)
14
+ * [S York Road page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=&land_lot=&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=York+Road)
15
+ ## L114 street examples
16
+
17
+ * [L114 Argonne Drive page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=12&land_lot=114&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Argonne+Drive)
18
+ * [L114 Argonne Drive page 2](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=12&land_lot=114&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Argonne+Drive&page=2)
19
+ * [L114 Meadowbrook Lane page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=12&land_lot=114&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Meadowbrook+Lane)
20
+ * [L114 Meadowbrook Lane page 2](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=12&land_lot=114&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Meadowbrook+Lane&page=2)
21
+ * [L114 Rickenbacker Circle page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=12&land_lot=114&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Rickenbacker+Circle)
22
+ * [L114 Wendell Way page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=12&land_lot=114&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Wendell+Way)
23
+ * [L114 Pershing Way page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=12&land_lot=114&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Pershing+Way)
24
+ * [L114 York Road page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=12&land_lot=114&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=York+Road)
25
+ ## L115 street examples
26
+
27
+ * [L115 Argonne Drive page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=12&land_lot=115&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Argonne+Drive)
28
+ * [L115 Meadowbrook Lane page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=12&land_lot=115&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Meadowbrook+Lane)
29
+ * [L115 Rickenbacker Circle page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=12&land_lot=115&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Rickenbacker+Circle)
30
+ * [L115 Wendell Way page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=12&land_lot=115&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Wendell+Way)
31
+ * [L115 Pershing Way page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=12&land_lot=115&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=Pershing+Way)
32
+ * [L115 York Road page 1](https://pure.md/www.glsarchives.com/surveys/results.php?county=CLAYTON&district=12&land_lot=115&year%5Bmin%5D=1913&year%5Bmax%5D=1983&sort=mapdate&street=York+Road)
33
+
34
+ ## Address examples
35
+
36
+ * [Address 193 ARGONNE DRIVE](https://pure.md/www.glsarchives.com/surveys/results.php?address=193+ARGONNE+DRIVE&sort=mapdate)
37
+ * [Address 176 ARGONNE DRIVE](https://pure.md/www.glsarchives.com/surveys/results.php?address=176+ARGONNE+DRIVE&sort=mapdate)
38
+ * [Address 1886 ARGONNE DRIVE](https://pure.md/www.glsarchives.com/surveys/results.php?address=1886+ARGONNE+DRIVE&sort=mapdate)
39
+ * [Address 6476 ARGONNE DRIVE, RICKENBACKER CIRCLE](https://pure.md/www.glsarchives.com/surveys/results.php?address=6476+ARGONNE+DRIVE%2C+RICKENBACKER+CIRCLE&sort=mapdate)
40
+ * [Address 6476 RICKENBACKER CIRCLE, ARGONNE DRIVE](https://pure.md/www.glsarchives.com/surveys/results.php?address=6476+RICKENBACKER+CIRCLE%2C+ARGONNE+DRIVE&sort=mapdate)
41
+ * [Address 1913 ARGONNE DRIVE](https://pure.md/www.glsarchives.com/surveys/results.php?address=1913+ARGONNE+DRIVE&sort=mapdate)
42
+ * [Address 107 MEADOWBROOK LANE](https://pure.md/www.glsarchives.com/surveys/results.php?address=107+MEADOWBROOK+LANE&sort=mapdate)
43
+ * [Address 112 MEADOWBROOK LANE](https://pure.md/www.glsarchives.com/surveys/results.php?address=112+MEADOWBROOK+LANE&sort=mapdate)
44
+ * [Address 6558 MEADOWBROOK LANE](https://pure.md/www.glsarchives.com/surveys/results.php?address=6558+MEADOWBROOK+LANE&sort=mapdate)
45
+ * [Address 6535 MEADOWBROOK LANE](https://pure.md/www.glsarchives.com/surveys/results.php?address=6535+MEADOWBROOK+LANE&sort=mapdate)
46
+ * [Address 1829 WENDELL WAY](https://pure.md/www.glsarchives.com/surveys/results.php?address=1829+WENDELL+WAY&sort=mapdate)
47
+ * [Address 1795 WENDELL WAY](https://pure.md/www.glsarchives.com/surveys/results.php?address=1795+WENDELL+WAY&sort=mapdate)
48
+ * [Address 1845 WENDELL WAY](https://pure.md/www.glsarchives.com/surveys/results.php?address=1845+WENDELL+WAY&sort=mapdate)
49
+ * [Address 111 PERSHING WAY](https://pure.md/www.glsarchives.com/surveys/results.php?address=111+PERSHING+WAY&sort=mapdate)
data/gen.py ADDED
@@ -0,0 +1,31 @@
1
+ import urllib.parse, json, itertools
2
+ base='https://pure.md/www.glsarchives.com/surveys/results.php?'
3
+ # Ensure params encoded consciously; urllib.urlencode spaces plus.
4
+ def link(params): return base+urllib.parse.urlencode(params,doseq=True)
5
+ # Streets
6
+ streets=['Argonne Drive','Meadowbrook Lane','Rickenbacker Circle','Wendell Way','Pershing Way','York Road']
7
+ l_pages={'S':{'Argonne Drive':2,'Meadowbrook Lane':2,'Rickenbacker Circle':1,'Wendell Way':1,'Pershing Way':1,'York Road':1}, 'L114':{'Argonne Drive':2,'Meadowbrook Lane':2,'Rickenbacker Circle':1,'Wendell Way':1,'Pershing Way':1,'York Road':1}, 'L115':{'Argonne Drive':1,'Meadowbrook Lane':1,'Rickenbacker Circle':1,'Wendell Way':1,'Pershing Way':1,'York Road':1}}
8
+ lines=['# Geo Query Catalog','','Useful links to public survey query examples.','']
9
+ for fam in ['S','L114','L115']:
10
+ lines+=['## '+fam+' street examples','']
11
+ for st in streets:
12
+ for page in range(1,l_pages[fam][st]+1):
13
+ ll={'S':None,'L114':'114','L115':'115'}[fam]
14
+ params={'county':'CLAYTON','district':('' if ll is None else '12'),'land_lot':('' if ll is None else ll),'year[min]':'1913','year[max]':'1983','sort':'mapdate','street':st}
15
+ if page>1: params['page']=str(page)
16
+ u=link(params)
17
+ lines+=['* [%s %s page %s](%s)'%(fam,st,page,u)]
18
+ lines+=['','## Address examples','']
19
+ # addresses from local srows
20
+ import re
21
+ addresses=[]
22
+ srows=json.load(open('/tmp/srows.json'))
23
+ for rows in srows.values():
24
+ for r in rows:
25
+ a=r['address']
26
+ if re.match(r'^\d',a) and a not in addresses:addresses.append(a)
27
+ # Add all addresses pages maybe 1 only.
28
+ for a in addresses:
29
+ lines += ['* [Address %s](%s)'%(a,link({'address':a,'sort':'mapdate'}))]
30
+ # Add all street unrestricted sorted alt params if any.
31
+ open('/tmp/ggeo/README.md','w').write('\n'.join(lines)+'\n')
@@ -0,0 +1,7 @@
1
+ # tiny helper, links and catalog documented in README
2
+ module GeoQueryCatalog
3
+ VERSION='0.0.1'
4
+ def self.sorted(values)
5
+ values.map{|v|v.to_s.strip.upcase}.uniq.sort
6
+ end
7
+ end
metadata ADDED
@@ -0,0 +1,77 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: geo_query_catalog
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Ark Catalog
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2026-05-26 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: wikicloth
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: spruz
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Utilities and reference links for building geospatial query tables.
42
+ email:
43
+ - z7765e454@abc.00.pe
44
+ executables: []
45
+ extensions: []
46
+ extra_rdoc_files: []
47
+ files:
48
+ - "./README.md"
49
+ - "./gen.py"
50
+ - "./lib/geo_query_catalog.rb"
51
+ homepage: https://www.rubydoc.info/gems/geo_query_catalog/0.0.1/file/README.md
52
+ licenses:
53
+ - MIT
54
+ metadata:
55
+ homepage_uri: https://www.rubydoc.info/gems/geo_query_catalog/0.0.1/file/README.md
56
+ documentation_uri: https://www.rubydoc.info/gems/geo_query_catalog/0.0.1/file/README.md
57
+ source_code_uri: https://www.rubydoc.info/gems/geo_query_catalog/0.0.1/file/README.md
58
+ post_install_message:
59
+ rdoc_options: []
60
+ require_paths:
61
+ - lib
62
+ required_ruby_version: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">="
65
+ - !ruby/object:Gem::Version
66
+ version: '0'
67
+ required_rubygems_version: !ruby/object:Gem::Requirement
68
+ requirements:
69
+ - - ">="
70
+ - !ruby/object:Gem::Version
71
+ version: '0'
72
+ requirements: []
73
+ rubygems_version: 3.3.15
74
+ signing_key:
75
+ specification_version: 4
76
+ summary: Catalog of geospatial table query helpers
77
+ test_files: []