-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
*.PIA structure #2
Comments
Make sure to pay attention to the SSA data version you are using. |
For the API we may be able to take inspiration from this javascript API wrapper for gdal-js: https://github.com/azavea/loam/blob/develop/src/worker.js and related files, demo here. gdal is the mega-geospatial library which backs PostGIS: https://github.com/ddohler/gdal-js |
Do you know what "level" you want the JS API to expose? Like have The first way is more flexible, but could be tricky to implement. It looks like a lot of functions throw C++ exceptions, and those probably need to be wrapped to catch the exceptions. Dealing with the old-school C++ memory management used here from JS also might be a chore. |
I tried to lay out my thinking in #7 at this same moment. Thanks for this C++ wisdom though: I don't really want to introduce complicated bugs by interfacing with the existing code in untested ways. It seems like your first idea is like my (2.) and your second idea is most like my (3.)? I'll talk to Alex for more insight too. |
anypiab
is a command line program like theanypia32
GUI program.Loading a *.pia file outputs something like
"123-45-0020 06/22/1952 1235.80 2090.10 931.00 62 and 1 month 5 T" but it also appears that it outputs to a file (thanks @AlexMerritt)
One issue we will face is getting the earnings, and other data, into anypia-js
The current interface is using this
.pia
file format.http://thadk.net/anypiamac-docs/html/General/structure.html
The alternative is to support the XML format somehow with the oactobjs libraries directly and plug the javascript straight into its state format and skip the
.pia
format.The text was updated successfully, but these errors were encountered: