Questions tagged [multilinestring]
236 questions
0
votes
1 answer
Net::HTTP post with multiline param
I'd like to post a multiline param with Net::HTTP in Ruby. I tried adding \n or \r\n in the param string but it just arrives at destination as \n or…

kaczor1984
- 467
- 2
- 12
- 22
0
votes
0 answers
OpenLayers: Offset multilinestring
Hi i have some problem for offset the coordinates of multiple line
For example my records is like this
Record Number
Name
Start Point
End Point
Purpose
Record 1
Line1
PointA
PointB
Bus
Record 2
Line2
PointA
PointB
Taxi
Record…

ngjiajun
- 16
- 5
0
votes
1 answer
Extract coordinates of raster cells that overlap with multilinestring
I'm working with R and I have a raster (population) with population density data on each cell and a multilinestring (border_365_366) that represents an international border. I'd like to extract the coordinates of the raster cells that overlap with…

zutt
- 25
- 5
0
votes
1 answer
Maintaining the topology on a MultiLineString
I'm trying to get topological movement of lines with Leaflet-Geoman plugin using TopoJSON. There is a method called topojson.mesh , which
Returns the GeoJSON MultiLineString geometry object representing the mesh for the specified object in the…
user14900872
0
votes
1 answer
SQL Server GEOGRAPHY STIntersection changes points order
Is it possible to get result of STIntersection() with the same points order as original object?
DECLARE @g geography;
DECLARE @h geography;
SET @g = geography::STGeomFromText('POLYGON((25.84568061650872 49.69890972163677,25.844941083373904…

Dimon S
- 21
- 2
0
votes
1 answer
Do Python multi-line strings take some space in the memory?
Guido van Rossum tweeted:
Python tip: You can use multi-line strings as multi-line comments.
Unless used as docstrings, they generate no code! :-)
Does the below multi-line string, when not used as a docstring, take some space in…

Sanjay Raut
- 3
- 4
0
votes
0 answers
Color individual line GeoJson/GeoPandas line segments in Plotly map
I'm using data from the submarinecablemap.com Github repo to make an orthographic projection map in Plotly. I can plot the lines based on a Plotly documentation example for lines on maps, but I'm failing when trying to individually color or style…
0
votes
4 answers
Getting the index of the word 'print' in a multiline string
I am trying to find the index of all the word: 'print' in a multi line text. But there are some problems, those are:
The code returns the index same of word 'print' two time if there are two prints in a line.
It is not able to find the index of the…

Parvat . R
- 751
- 4
- 21
0
votes
1 answer
PHP curl - preparing graphql query string with variables
I have this graphql request string:
$data_string = '{"query":"query {\n search(input: {\n projectId: \"'.$project_id.'\",\n search: \"'
.$expr.'\",\n limit: '.$page_size.',\n offset: '.$offset.'\n }) {\n total\n …

Rostyslav Bornitskyi
- 151
- 2
- 7
0
votes
1 answer
How to validate if a multiline string is a valid YAML or not?
I have a scripted Jenkins pipeline where I am using a multiline string parameter with name CUSTOM_YAML.
While building the job, I am giving the input of that parameter as yaml text and convert it to a .yaml file :
writeFile file: 'demo.yaml', text:…

Harshit Goel
- 175
- 1
- 3
- 13
0
votes
1 answer
Can you have Multi Line Strings without Roslyn?
I Currently have created an ASP.NET Empty website on VB.NET with nothing but a few pages and a WebConfig file. On one page I have an SQL String on multiple lines and I am getting the Error:
BC30648: String constants must end with a double quote.
I…

Mark
- 29
- 5
0
votes
0 answers
how to convert a column with a list of coordinates (MultliLineString) into sf/st object on R?
I have a dataframe whose one column contains list of coordinates latitudes and longitudes on every row. How can I convert them into sp/sf object (As I understood correctly, in order to make operations and plot them on the real data first I need to…

yer
- 25
- 1
- 5
0
votes
0 answers
indentation of a swift multiline string
For the following multi-line string:
jsContext.evaluateScript(
"""
var console = {
log: function(data) { __swift_log(data); }
};
""")
A compilation error is reported:
error:…

WestCoastProjects
- 58,982
- 91
- 316
- 560
0
votes
3 answers
How to check If a multiline String contains another multiline String in Java?
1.I tried to use the contains function BUT it did not work, it only works when b = "30-10-1960\n" or b = "Posephine Esmerelda Bloggs\n". How to check if a contains b?
2.Here is the code I wrote.
String a = "name Posephine Esmerelda Bloggs\n" +
…

Jay Park
- 308
- 1
- 6
- 14
0
votes
0 answers
BigQuery GIS table to GeoJSON type Feature Collection with SQL and/or Python
I have some BigQuery tables with spatial data (lon, lat, point, and linestring) representing boat tracks.
I'm trying to get them into a GeoJSON for an API output.
I have one method that uses Python to query my table into a pandas dataframe, which…

SeaGo
- 23
- 5