Skip to content
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

Register "opengis" namespace into PyPI #40

Open
desruisseaux opened this issue Sep 6, 2018 · 4 comments
Open

Register "opengis" namespace into PyPI #40

desruisseaux opened this issue Sep 6, 2018 · 4 comments
Labels
Python Specific to the Python language.

Comments

@desruisseaux
Copy link
Contributor

Python abstract classes are currently defined in the opengis namespace. This namespace (or any other namespace chosen by the working group) needs to be registered there:

Note: in a previous version we used the ogc namespace. But we switched to opengis because the OGC acronym is used for many things (Office of Government Commerce, Office of the General Counsel, etc). Because the Python community is larger than the geospatial community, the risk of name collision if using only "OGC" name seems high.

An alternative would be "opengeospatial". But this name is longer, and the Python community seems to aim for short names in general. The "opengis" name is closer to the historical name used by Java package, and also may be closer to the purpose of those interfaces since we are indeed proposing basic building block of a Geographic Information System (GIS).

@kinow
Copy link
Contributor

kinow commented Sep 6, 2018

What about geoapi?

@desruisseaux
Copy link
Contributor Author

Could be. But "opengis.org" is a registered domain name by OGC (in addition of "opengeospatial.org"). I also noticed that OGC already uses the org.opengis namespace for other OGC developments in Java outside GeoAPI, for example test suite; I though that they could use a Python opengis namespace for non-GeoAPI stuff too.

@kinow
Copy link
Contributor

kinow commented Sep 7, 2018

Looks like it's trickier than I expected to find a good & available name. Just asked about geoapi as I noticed the Java artifacts were using it. But opengis looks good too.

@desruisseaux
Copy link
Contributor Author

True, but geoapi is Maven artifact from "pre-Java 9" world. A Java 9 module name would be org.opengis.something if we follow the recommendation to stay close to package names. Maybe the module name would be org.opengis.geoapi - yes I agree it looks mixed, but is also consistent with the complete standard name which is "OGC GeoAPI".

@desruisseaux desruisseaux added the Python Specific to the Python language. label Jun 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Python Specific to the Python language.
Projects
None yet
Development

No branches or pull requests

2 participants