Questions tagged [multilinestring]
236 questions
1
vote
3 answers
JSON string with some html tag failing at parse
I am taking user input sending it to server using jQuery ajax...after inserting user values in database I am sending response back to client as JSON string as following
echo '{"success":"true","data":"'.nl2br($a).'","type":"text"}';
as user input…

vikas devde
- 11,691
- 10
- 35
- 42
0
votes
1 answer
How do you select Arcs inside a boundary in PostGIS?
I'm searching an answer for this question and all I found on
http://postgis.refractions.net/documentation/manual-1.3/ch04.html#id2572194
is
SELECT road_id, road_name
FROM roads
WHERE roads_geom && GeomFromText('POLYGON((...))',-1);
should I put…

Jader Dias
- 88,211
- 155
- 421
- 625
0
votes
1 answer
Any solutions to interpolate MULTILINESTRING?
Here is some part of my table
the_new_geom
MULTILINESTRING((100.594606800391 13.872016439113...
LINESTRING(100.622342929363 13.9502950094115,100....
LINESTRING(100.618133904403 14.1676090338694,100....
LINESTRING(100.823426479749…

Korr Iamnot
- 309
- 5
- 15
0
votes
2 answers
SQL Server 2008 - Spatial MultiLineString problems in creation
I have 3 line string. They are correct but when we try create a MultiLineString SQL Server 2008 throws an exception:
System.ArgumentException: 24200: The specified input does not
represent a valid geography instance.
I don't see where is the…

user1016800
- 35
- 1
- 6
0
votes
1 answer
How to arrange my layout for a large text in android?
I set the parent view as a scrollview. Then I put a TextView to display my help text. But the string resource i use to put in the textview has limited characters. My help text is large. Please provide some suggestion...

Surjya Narayana Padhi
- 7,741
- 25
- 81
- 130
0
votes
0 answers
How to find straight segments within an irregular curved line using R or QGIS
I have a shapefile (EPSG:4326 - WGS 84) containing many features with linestring geometries and I would really like to divide each line (like that one shown in the uploaded picture,example of linestring geometry to work with) into several segments,…

Pamela Lattanzi
- 1
- 1
0
votes
1 answer
in R, how to measure minimum distance to a geometry object of type sfc_Linestring (Linestring Z)?
I downloaded a shapefile that has a linestring object that represent the coastline of country (Brazil) and after importing this SHP-file into R i have a geometry vector of 630 rows of the type "linestring z". I am assuming those are the 630 pieces…

fabian_alex
- 3
- 2
0
votes
1 answer
How can I use a MultiLineStringM Geometry in Openlayers?
I would like to create features from a MultiLineStringM Geometry in Openlayers. Is that possible and, if yes, how?
The difference to a normal MultiLineString is that in a MultiLinestringM I have three values: 2 for coordinates and 1 for the…

Athshe
- 69
- 8
0
votes
1 answer
Is the distance of ST_buffer function of Simple Features (SF) package calculated as total size or from geometry when linestring?
I have created a buffer zone around roads in a specific country. The spatial road dataset is of format Multilinestring.
I intended to create a buffer zone that is 1 km wide in total, so 5 km from the road on each side. Therefore I set the distance…

Moa
- 15
- 2
0
votes
1 answer
Parsing table data extending to multiple columns
Input data =
"Port Native VLAN Trunk VLANs
\r\n-------------------------------------------------------------------------\r\n1/1/2 1 1-2,77,90,802,998-999\r\n1/1/4
2 …

Sandy
- 3
- 3
0
votes
1 answer
How to increment an integer while passing a multi-line string to a command using "Here tag" in bash
I have a piece of code that looks similar to this:
index=SOME_INTEGER
SOME_COMMAND <

MikkelDA
- 37
- 3
0
votes
1 answer
ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0
I have the following dataframe:
ID_from ID_to geometry_to geometry_from
0 DE111 DE111 POINT (4260741.157 2851183.129) POINT (4260741.157 2851183.129)
1 DE111 DE112 POINT (4243568.080 2841580.049) POINT…

Andrei
- 69
- 6
0
votes
0 answers
Calculating distance between two points with obstacle using PostGIS
I'm a new user of Postgis, I try to find which point is closer to start_point and end_point.
for example:
start_point is POINT(19.9948526769673, 0.001437951055402)
end_point is POINT(19.996406755300036, 0.003174344782679)
Red line is a LineString…

Mathe
- 51
- 3
0
votes
0 answers
Creating a polygon from four linestrings
I have three linestrings and one multilinestring that intersect that I want to create a polygon within the boundaries of the four lines. Here's what the geometry looks like:
Two of the lines are just the northern and southern boundaries (green and…

E Norton
- 83
- 4
0
votes
0 answers
"ValueError: No Shapely geometry can be created from null value" from Shapely's ops.shared_paths
I get this error:
ValueError: No Shapely geometry can be created from null value
on some occassions where I am trying to find the common or shared paths between two linestrings. I am using the ops.shared_paths method.
Suppose I have the following…

M. Fire
- 117
- 2
- 6