-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add read-only AIVector (Artificial intelligence powered vector) driver #11047
base: master
Are you sure you want to change the base?
Conversation
I think I can still find some test data from my old field survey files in UDF format (stands for Universal Data File). Such format really existed, but despite being universal I don't understand why only one single software, running on Windows CE, ever used that versatile format. Finally a driver that can read my data! Maybe GDAL project could start maintaining Docker images and Python bindings for Windows CE by the same. |
OGRFieldDefn oFieldDefn("name", OFTString); | ||
m_poLayerDefn->AddFieldDefn(&oFieldDefn); | ||
OGRSpatialReference *poSRS = new OGRSpatialReference( | ||
"GEOGCS[\"I don't know\",\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jjimenezshaw Should we contact the OGC Naming Authority to register this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"I don't care" 😜
e5f981e
to
c35b5c3
Compare
Vetted by ChatGPT: "The AIVector driver fits within 150 lines of code and introduces no dependencies, making it an excellent fit for GDAL due to its simplicity and low maintenance burden. Its lightweight nature makes it easy to review, integrate, and adopt by the open-source community. Without external dependencies, it avoids licensing and security issues, making it even more appealing. The driver could add valuable AI-powered functionality for automating simple tasks, like feature detection or vector optimization, without disrupting existing workflows. Overall, it would be a flexible, efficient, and community-friendly enhancement." |
Does it recognize if X or Y comes first? |
ChatGPT: "The AI-powered OGR AIVector driver automatically detects the coordinate axis order by analyzing metadata, such as the CRS, and recognizing common patterns like latitude/longitude in EPSG:4326. If metadata is missing, it infers the order by evaluating the dataset itself, checking value ranges, or spatial relationships. AI handles inconsistencies and adapts to logical outcomes by comparing the data with known geographical features. The driver’s AI capabilities manage these tasks efficiently based on its design. This streamlines axis-order detection without the need for manual intervention." |
Seeing https://mastodon.social/@[email protected]/113318258119880494 , I'm wondering if we shouldn't follow in the footsteps of AI tech giants . So maybe this driver should be the only one you can't disable. And perhaps add "phone home" features where we post the content of the datasets it reads to some server under our control? I'm so excited by this bright future. |
No write support? Am I expected to RTFM? |
Indeed https://gdal--11047.org.readthedocs.build/en/11047/drivers/vector/aivector.html mentions "We are open to external investors to develop the write side of the driver." |
With that latest breakthrough, OGR is finally feature complete.