Comments (6)
The Python ESRI scrape code runs through OBJECTID's 500 at a time. Sometimes the source's OBJECTID first value is > 500, so the scrape returns zero results.
I should probably start off the scrape by doing an OBJECTID search from 0 to 1000000000 or something and then go from there.
from machine.
I take that back. I'm assuming the column is called "OBJECTID" when in fact the oid column could be named something else. The name will be in the metadata for the layer so I'll query that first.
from machine.
Hmm, I've tried a few sources after integrating your pull request #41 and still no joy. My repo is at f28c27f and us-sd us-al-calhoun us-sc-berkeley all still seem to find no features.
from machine.
Oh btw here's how I'm testing stuff, after doing a pip install
.
openaddr-process-one ~/src/oa/openaddresses-me/sources/us-al-calhoun.json /tmp/
wc -l /tmp/us-al-calhoun/out.csv
from machine.
I've verified us-va-city_of_norton and us-wi-vernon now work. Also us-wy-albany still works, to name a random ESRI source that was working before #41 and #44 were merged.
us-al-calhoun ran for about 10 minutes getting valid-seeming JSON and then barfed with a DownloadError, but that's likely to just be a failure of their web server (see below for details). We'll know more after the next bulk run. Closing the ticket, nice work @iandees!
File "/home/nelson/src/oa/openaddresses-machine/openaddr/__init__.py", line 85, in cache
downloaded_files = task.download(source_urls, workdir)
File "/home/nelson/src/oa/openaddresses-machine/openaddr/cache.py", line 326, in download
raise DownloadError("Problem querying ESRI dataset: %s", error['message'])
DownloadError: ('Problem querying ESRI dataset: %s', u'Error performing query operation')
from machine.
The issue you're seeing there @NelsonMinar is fixed in #45.
from machine.
Related Issues (20)
- Charts on dashboard are empty due to missing CORS headers HOT 1
- static URL for latest output per source HOT 2
- Unknown problem HOT 1
- San Mateo shapefiles failing to extract
- Toronto data missing city name HOT 6
- Speed up index page HOT 2
- Italian addresses without street name
- Sample data field names don't match actual data: au/countrywide (maybe others) HOT 2
- Requesting an email list for batch completion notifications HOT 5
- Docker Hub image out of date HOT 1
- Dashboard broken: CORS, also data not updating HOT 2
- /latest/run/{source}.zip URLs don't work for all sources HOT 2
- chain function with esri source fails
- Clean out old data/runs? HOT 14
- Allow requester pays access to the data.openaddresses.io bucket
- support gzip compression
- New attribute function for extracting single value for multivalued fields HOT 6
- Gracefully handle source regressions HOT 3
- Slow queries for results.openaddresses.io HOT 2
- Handle case where pre- and -post directional are same HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from machine.