Giter Club home page Giter Club logo

aixmparser's People

Contributors

bpascal-91 avatar cquest avatar dependabot[bot] avatar lore423 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aixmparser's Issues

AIXM 5.1 support

Hi @cquest,

Do you have any plans to support AIXM 5.1 in addition to 4.5? It looks like there's active development of the parser but Eurocontrol and FAA have moved on to AIXM 5.1. I would be happy to contribute. Cheers.

New proposal - aixmParser v2.4.0

Hi Christian,

you have an 'Pull request' open before 2019/12/17... This day, i propose the new version of - aixmParser v2.4.0 ... Please Commit this branch ;-)

Thank's BPascal

Erreur en parsant le dernier jeu aixm du SIA

Bonjour,

Merci pour l'énorme boulot accompli ! J'ai essayé de parser le dernier jeu de données du sia (2023-01-26).
Pendant l'étape "Parsing Abd to GeoJSON", le script plante.
Je ne maitrise pas assez le python pour voir d'où ça vient

`C:\Users\xxxx\python\aixmParser-master\src>aixmParser.py ../tst/aixm4.5_all_FR_OM_2023-01-26.xml -Fgeojson -Tall -ALL -CleanLog
(Logger) Initialisation
(aixmParser v2.26.4)

Reading source file: ../tst/aixm4.5_all_FR_OM_2023-01-26.xml
[====================] 100 % - Parsing Obs to GeoJSON - Obstacles
Write file obstacles.geojson - 13041 areas in map
[====================] 100 % - Parsing Ahp to GeoJSON - Aerodromes / Heliports
Write file aerodromes.geojson - 851 areas in map
[====================] 100 % - Parsing Rcp to GeoJSON - Runway Center Line Position
Write file runwaysCenter.geojson - 1987 areas in map
[====================] 100 % - Parsing Uni to GeoJSON - Aerodrome control towersWrite file towers.geojson - 187 areas in map
[====================] 100 % - Parsing Gsd to GeoJSON - Gates and Stands
Write file gates-stands.geojson - 1444 areas in map
[====================] 100 % - Parsing Gbr to GeoJSON - Geographic borders
Write file borders.geojson - 40 areas in map
[====================] 100 % - Indexing Adg - Airspaces Groups
[====================] 100 % - Indexing Sae - Airspaces Services
[====================] 100 % - Indexing Uni - Organizations
[====================] 100 % - Indexing Abd - Airspaces Borders
[====================] 100 % - Loading Ase - Airspaces Catalog
/!\Critical--> Missing Ground Estimated Height: 1998 Unknown heights in file C:\Users\Theranthil\python\aixmParser-master\src/../out/referentials/refUnknownGroundHeight.json
Written file airspacesCatalog.json
Written file airspacesCatalog.csv
[ ] 2 % - Parsing Abd to GeoJSON - Airspaces BordersC:\Users\Theranthil\python\aixmParser-master\src\aixmReader\AixmTools.py:501: FutureWarning: This function is deprecated. See: https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1
center_x, center_y = transform(p1=self.pWGS, p2=srs, x=latC, y=lonC)
C:\Users\Theranthil\python\aixmParser-master\src\aixmReader\AixmTools.py:502: FutureWarning: This function is deprecated. See: https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1
start_x, start_y = transform(p1=self.pWGS, p2=srs, x=latS, y=lonS)
C:\Users\Theranthil\python\aixmParser-master\src\aixmReader\AixmTools.py:503: FutureWarning: This function is deprecated. See: https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1
stop_x, stop_y = transform(p1=self.pWGS, p2=srs, x=latE, y=lonE)
AttributeError: 'Point' object has no attribute 'radians'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Theranthil\python\aixmParser-master\src\aixmParser.py", line 80, in
if aixmCtrl.execParser(oOpts): #Execution des traitements
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Theranthil\python\aixmParser-master\src\aixmReader\AixmControler.py", line 273, in execParser
o2json.parseAirspacesBorders(oAs)
File "C:\Users\Theranthil\python\aixmParser-master\src\aixm2json\Aixm2json4_5.py", line 410, in parseAirspacesBorders
self.parseAirspaceBorder(oZone, oBorder)
File "C:\Users\Theranthil\python\aixmParser-master\src\aixm2json\Aixm2json4_5.py", line 510, in parseAirspaceBorder
arc = self.oCtrl.oAixmTools.make_arc2(Pcenter, Pstart, Pstop, 0.0, (codeType=="CWA"))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Theranthil\python\aixmParser-master\src\aixmReader\AixmTools.py", line 515, in make_arc2
g = self.make_arc(Pcenter, radius, degStart, degStop, clockwiseArc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Theranthil\python\aixmParser-master\src\aixmReader\AixmTools.py", line 463, in make_arc
polygon = geog.propagate(Pcenter, angles, radius)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Users\Theranthil\AppData\Local\Programs\Python\Python311\Lib\site-packages\geog\geog.py", line 161, in propagate
p0 = np.radians(p0)
^^^^^^^^^^^^^^
TypeError: loop of ufunc does not support argument 0 of type Point which has no callable radians method`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.