vector
Here are 1,515 public repositories matching this topic...
-
Updated
Dec 13, 2021 - C++
-
Updated
Dec 16, 2021 - TypeScript
-
Updated
May 12, 2019 - Java
The gdal/swig/python/samples/ogr_layer_algebra.py should be promoted to an official Python script
Steps:
- move it to gdal/swig/python/scripts
- create a new test script for it in autotest/pyscripts/test_ogr_layer_algebra.py
- write a documentation page in doc/source/programs/ogr_layer_algebra (and link it to the index)
-
Updated
Mar 19, 2019 - Java
I've come across a weird behavior that really baffled me initially.
This compiles with nalgebra 0.29:
let _: nalgebra::SVector<f32, 3> = nalgebra::point![1.0, 2.0].into();It converts an OPoint<f32, 2> into an SVector<f32, 3>, using Into.
Here's the same, with debug output:
let v: nalgebra::SVector<f32, 3> = dbg!(nalgebra::point![1.0, 2.0]).into();
dbg!(v-
Updated
Jul 30, 2021 - C++
-
Updated
Jun 30, 2020 - Go
-
Updated
Oct 8, 2021 - Kotlin
-
Updated
Dec 1, 2021 - PHP
-
Updated
Jun 1, 2020 - Java
In the event payload the return type of layer is `L.Layer? so it needs to be casted to the Layer-Type.
layer.on('pm:edit', (e) => {
if(e.shape === 'Polygon'){
(e.layer as Polygon).getLatLngs();
}
});
I think following should work too: (But not tested)
layer.on('pm:edit', (e) => {
if(e.layer instanceof L.Polygon){
(e.layer as Polygon).getLatLngs();
}
-
Updated
Nov 22, 2021 - C
Is your feature request related to a problem? Please describe.
I'm always frustrated when I'm typing a new value for a parameter and I gave up on this edition, but I can't cancel it by keyboard.
Describe the solution you'd like
By pressing Esc I should be able to cancel my in-going edition on the Value column of the Parameters Panel as I'm able to when editing a layer name in the La
It would be great to mention this in the relevant chapter: https://github.com/walkerke/crsuggest
Specifically it would fit perfectly here: https://geocompr.robinlovelace.net/reproj-geo-data.html#which-crs-to-use
Heads-up @walkerke, awesome package, let me know if you've any comments/suggestions on describing the package and thanks for developing it!
This is for first-time-contributors :
Add functions which belong to a particular header file in its corresponding .md file inside the header folder.
For example
std::sort belongs to algorithm header file, so make a new file sort.md inside the algorithm directory while maintaining the CONTIBUTING gu
-
Updated
Dec 9, 2021 - Java
-
Updated
Nov 26, 2021 - Rust
An option like $ fio cat --bounds w s e n --bounds-crs <crs> --dst-crs <crs> would allow for filtering prior to reprojection, like $ ogr2ogr -spat w s e n -spat_srs <crs>.
See Toblerity/Fiona#210 for a discussion about standardizing bounding boxes as --bounds w s e n rather than --bbox w,s,e,n.
Improve this page
Add a description, image, and links to the vector topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the vector topic, visit your repo's landing page and select "manage topics."
Is there an existing issue for this?
Environment
Current Behavior
1 Good
res = collection.search(vectors[:nq], "float_vector", default_sear