Questions tagged [multilinestring]
236 questions
1
vote
1 answer
How to add Point to the LineString?
I am working on vessel tracking. I have setup route path, and vessel current position. Now my aim is to add that current position point to the path and update it. and calculate the length of linestring and time duration of whole line(start to end)…

R. Baraiya
- 1,490
- 1
- 4
- 17
1
vote
1 answer
How to measure length of a section sf linestring inserted between two features from sf multilinestring object in r?
I have a dataset in linestring format and an ocean bathymetry multilinestring (several lines with depth information). My aim is to measure the length section of these linestrings at each depth range (between two multilinestrings) and to have the…

Caroline Portal
- 195
- 8
1
vote
0 answers
How to Draw Multi Line string With GeoJSON Object Openlayers
I am trying to draw linestring by holding the GeoJSON object. But when drawing process starts, the pointer can be selected everywhere on the map. My purpose is the pointer just be selected on the GeoJSON object
Here is some of the code.
var…

Kaleraa
- 53
- 4
1
vote
2 answers
Print multiline text horizontally
In my python program I defined a dictionary.
And assigned big block letters made with # symbols to it.
I need to display letters horizontally like this
# ### ###
# # # # #
##### ### #
# # # # #
# # ### ###
My Code is…

ghost21blade
- 731
- 2
- 8
- 21
1
vote
1 answer
include simple features attributes in a sfnetwork graph
I'm working with a .shp file with LINESTRING geometry and for each line there are several attributes.
Simple feature collection with 5979 features and 39 fields
Geometry type: LINESTRING
Dimension: XY
Bounding box: xmin: 334297 ymin: 6277095…

mrR
- 11
- 1
1
vote
1 answer
Multi-line strings in Localizable.strings
I have the following in a swift file which is loaded on first app use:
let descriptions = [NSLocalizedString("""
Hyperpolyglot will help you learn words and phrases in
…

Tirna
- 383
- 1
- 12
1
vote
1 answer
VB Script - Help in setting variable to value of user input with HTA form
The example script was originally posted by OMEGASTRIPES here: https://pastebin.com/wZYTtT8V
and was further discussed here, on Stack Overflow, under the following link: Pass two lines of text into InputBox
The script does basically exactly what I…

Steve Tomalin
- 11
- 1
1
vote
1 answer
When did R begin supporting here-document-like functionality?
Just over a year ago, I searched online for here-document (or similar) capability in R. I didn't find any indication of it. Now, it's among the first things that pop up in a google search -- for example, on Wikipedia. I'm not sure whether this is…

user36800
- 2,019
- 2
- 19
- 34
1
vote
1 answer
Clickable area around linestring in mapbox GL js
I'm using mapbox GL js to display linestrings.
Those linestrings are clickable in order to display various information about the linstring in a popup using :
new mapboxgl.Popup()
.setLngLat(coordinates)
.setHTML(popup)
…

testadaz
- 39
- 5
1
vote
1 answer
Hand over multiline string as script Paramter in Powershell
The setup
In a powershell script I have written I use a Multiline string like the following:
$MLINE_VARIABLE = "*file1
- change1
- change2
*file_2
- change1
- change2
*file-3
- change1
- change2"
Since this string is saved as a variable…

MaKaNu
- 762
- 8
- 25
1
vote
4 answers
How to add line numbers to multiline string
I have a multiline string like the following:
txt = """
some text
on several
lines
"""
How can I print this text such that each line starts with a line number?

cknoll
- 2,130
- 4
- 18
- 34
1
vote
1 answer
MySQL storing google maps lat/long data
I have created a map which allows the user to plot multiple markers with the intention on storing them in a database table. The original plan was to store multiple rows per one map like so:
------------------------------------
| mapentryid | mapid |…

Prisoner
- 27,391
- 11
- 73
- 102
1
vote
1 answer
Unable to print multi-line strings in C
I am trying to print a series of multi-line strings (ascii art letters here), and when printing them out, the top of each letter moves to the right while the rest of the letter stays in the same position. Here is a screenshot of what occurs:
I do…

Caspian Ahlberg
- 934
- 10
- 19
1
vote
0 answers
LineString Heatmap with Open Layers 3
I need to make a heatmap with a bunch of linestrings using AngularJS and Open Layers 3. I didn't find any examples, just a question answered here but that don't worked for me!
I have a service that creates all the layers on my map, I need this…

Alfredo Marin
- 195
- 1
- 1
- 14
1
vote
2 answers
Powershell: how to easily switch between 'Out-String' and 'Get-Content' string variable types?
I want to use the method given in the answer of this question:
PowerShell - Remove all lines of text file until a certain string is found
However I don't get my string from "Get-Content"; I get it from "Out-String". How can I convert my "Out-String"…

Chris
- 88
- 1
- 11