-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Napa County #11
Conversation
OK, figured out the coordinate system translation, updated. Generated file: https://drive.google.com/file/d/14ec-92Fmkn-VL5QrzL3T0tDVMZ2_2tjN/view?usp=sharing |
… to contributor's file system
This is looking great! The XY coordinates are CA State Plane coordinates at Napa is in Zone 2 (ESPG 2226): from pyproj import Transformer
# California Zone 2
# https://epsg.io/2226
transformer = Transformer.from_crs(2226, 4326)
# ....later on in your parcel loop....
lat, lng = transformer.transform(y_coord, x_coord) You may have to swap x/y lng/lat. I've seen the order of the coordinate vary between datasources. Hope this helps 👍 |
@typpo yup! i examined the generated geojson output for the default output and previously working samples and figured out how to get it working, the code and the linked g-drive data in the subsequent comment should work! |
Oops, I totally missed that. Merging & updating the data now! |
Following the same format as that done for Solano County. However ran into a wrinkle - the coordinate system from the shp file doesn't seem to be long-lat and not quite sure how to work with it.
The input data file contains an associated XML file for the SHP that has the following:
This probably contains the info needed to translate the coordinates but not sure how to use it