Loading README.md +2 −2 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ source_db_config = {'username':'jay', # Subset the data store using a spatial query. geom = 'LINESTRING(145 10, 145 10.25, 145.25 10.25, 145.25 10, 145 10)' srid = 949900 srid = 104971 outpath = '/scratch/some/path/for/data' query = f"SELECT * FROM ctx WHERE ST_INTERSECTS(geom, ST_Polygon(ST_GeomFromText('{geom}'), {srid})) = TRUE" ncg.add_from_remote_database(source_db_config, outpath, query_string=query) Loading @@ -136,7 +136,7 @@ the quert string be valid SQL. `geom = 'LINESTRING(145 10, 145 10.25, 145.25 The PostGIS query requires a valid SRID for the input geometry, so we explicitly define that here. This is the SRID that the footprints are being stored in inside of the data store. `srid = 949900` The srid here is a custom stored in inside of the data store. `srid = 104971` The srid here is a custom srid that has been added to the data store spatial reference table; the id can be any arbitrary number as long as it exists in the spatial reference table. Loading autocnet/camera/camera.py +1 −1 Original line number Diff line number Diff line Loading @@ -115,7 +115,7 @@ def projection_error(p1, p, pt, pt1): the gold standard method for fundamental matrix estimation. Parameters ----------- ---------- p1 : ndarray (3,4) camera matrix Loading autocnet/camera/utils.py +1 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ def normalize(a): """ Normalize a set of coordinates such that the origin is translated to the center and then scaled isotropically such that the average distance from the origin is $\sqrt{2}$. that the average distance from the origin is :math:`\\sqrt{2}`. Parameters ---------- Loading autocnet/cg/change_detection.py +1 −2 Original line number Diff line number Diff line Loading @@ -200,8 +200,7 @@ def okubogar_detector(image1, image2, nbins=50, extractor_method="orb", image_fu See Also -------- feature extractor: autocnet.matcher.cpu_extractor.extract_features autocnet.matcher.cpu_extractor.extract_features : for description of information associated with the feature extractor """ if isinstance(image1, GeoDataset): Loading autocnet/control/control.py +1 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ def identify_potential_overlaps(cg, cn, overlap=True): Parameters ---------- overlap : boolean If True, apply aprint(g)n additional point in polygon check, where If True, apply an additional point in polygon check, where the polygon is the footprint intersection between images and the point is a keypoint projected into lat/lon space. Note that the projection can be inaccurate if the method used Loading Loading
README.md +2 −2 Original line number Diff line number Diff line Loading @@ -118,7 +118,7 @@ source_db_config = {'username':'jay', # Subset the data store using a spatial query. geom = 'LINESTRING(145 10, 145 10.25, 145.25 10.25, 145.25 10, 145 10)' srid = 949900 srid = 104971 outpath = '/scratch/some/path/for/data' query = f"SELECT * FROM ctx WHERE ST_INTERSECTS(geom, ST_Polygon(ST_GeomFromText('{geom}'), {srid})) = TRUE" ncg.add_from_remote_database(source_db_config, outpath, query_string=query) Loading @@ -136,7 +136,7 @@ the quert string be valid SQL. `geom = 'LINESTRING(145 10, 145 10.25, 145.25 The PostGIS query requires a valid SRID for the input geometry, so we explicitly define that here. This is the SRID that the footprints are being stored in inside of the data store. `srid = 949900` The srid here is a custom stored in inside of the data store. `srid = 104971` The srid here is a custom srid that has been added to the data store spatial reference table; the id can be any arbitrary number as long as it exists in the spatial reference table. Loading
autocnet/camera/camera.py +1 −1 Original line number Diff line number Diff line Loading @@ -115,7 +115,7 @@ def projection_error(p1, p, pt, pt1): the gold standard method for fundamental matrix estimation. Parameters ----------- ---------- p1 : ndarray (3,4) camera matrix Loading
autocnet/camera/utils.py +1 −1 Original line number Diff line number Diff line Loading @@ -15,7 +15,7 @@ def normalize(a): """ Normalize a set of coordinates such that the origin is translated to the center and then scaled isotropically such that the average distance from the origin is $\sqrt{2}$. that the average distance from the origin is :math:`\\sqrt{2}`. Parameters ---------- Loading
autocnet/cg/change_detection.py +1 −2 Original line number Diff line number Diff line Loading @@ -200,8 +200,7 @@ def okubogar_detector(image1, image2, nbins=50, extractor_method="orb", image_fu See Also -------- feature extractor: autocnet.matcher.cpu_extractor.extract_features autocnet.matcher.cpu_extractor.extract_features : for description of information associated with the feature extractor """ if isinstance(image1, GeoDataset): Loading
autocnet/control/control.py +1 −1 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ def identify_potential_overlaps(cg, cn, overlap=True): Parameters ---------- overlap : boolean If True, apply aprint(g)n additional point in polygon check, where If True, apply an additional point in polygon check, where the polygon is the footprint intersection between images and the point is a keypoint projected into lat/lon space. Note that the projection can be inaccurate if the method used Loading