[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    [postgis-users] Problem with overlay
From:       "Jonathan Aguero" <jua130 () psu ! edu>
Date:       2007-06-30 18:05:27
Message-ID: !~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAATR1TnoRRqU2OBfkDJYrxesKAAAAQAAAAzzvVbvS4kUWtIS9RHRO6owEAAAAA () psu ! edu
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Listers

I got a multilinestringM shape that I loaded into postgis without problem
(LRS). Then I used the linear referencing functions to create the segments
and curves tables from the tables (BTW, these linear referencing functions
rock!!!!). Now, my problem is that when I tried to join the information on
curves into the segments table using the overlay function, it failed to
detect several curves. Note that both geometries (segments and curves) are
generated from the same base lines (LRS), therefore all curves should
overlay one or more segments. I am guessing I encountered a precision
problem on GEOS but I wonder whether my guess is correct and if there is any
solution (maybe snaptogrid).  

Thanks in Advance for your help

PS:

OS: Windows XP

PGSQL: PostgreSQL 8.2.3 on i686-pc-mingw32, compiled by GCC gcc.exe (GCC)
3.4.2 (mingw-special)

Postgis: 1.2

GEOS: 3.0.0rc4-CAPI-1.3.3

 

 

Jonathan Aguero Valverde

Research Assistant and Ph.D. Candidate

Pennsylvania State University

The Pennsylvania Transportation Institute

201 Transportation Research Building

University Park, PA 16802

www.personal.psu.edu/jua130

 


[Attachment #5 (text/html)]

<html>

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">


<meta name=Generator content="Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin-top:3.0pt;
	margin-right:0in;
	margin-bottom:6.0pt;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
h2
	{margin-top:12.0pt;
	margin-right:0in;
	margin-bottom:12.0pt;
	margin-left:0in;
	page-break-after:avoid;
	font-size:14.0pt;
	font-family:Arial;
	font-style:italic;}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle18
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Listers</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I got a multilinestringM shape that I loaded into postgis
without problem (LRS). Then I used the linear referencing functions to create the
segments and curves tables from the tables (BTW, these linear referencing
functions rock!!!!). Now, my problem is that when I tried to join the
information on curves into the segments table using the overlay function, it
failed to detect several curves. Note that both geometries (segments and curves)
are generated from the same base lines (LRS), therefore all curves should
overlay one or more segments. I am guessing I encountered a precision problem
on GEOS but I wonder whether my guess is correct and if there is any solution (maybe
snaptogrid). &nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Thanks in Advance for your help</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>PS:</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>OS: Windows XP</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>PGSQL: PostgreSQL 8.2.3 on i686-pc-mingw32, compiled by GCC
gcc.exe (GCC) 3.4.2 (mingw-special)</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Postgis: 1.2</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>GEOS: 3.0.0rc4-CAPI-1.3.3</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Jonathan Aguero Valverde</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Research Assistant and Ph.D. Candidate</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>Pennsylvania</span></font><font size=2 face=Arial><span
 style='font-size:10.0pt;font-family:Arial'> </span></font><font size=2
  face=Arial><span style='font-size:10.0pt;font-family:Arial'>State</span></font><font
  size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> \
</span></font><font  size=2 face=Arial><span \
style='font-size:10.0pt;font-family:Arial'>University</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>The Pennsylvania Transportation Institute</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>201 Transportation Research Building</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
  font-family:Arial'>University Park</span></font><font size=2 face=Arial><span
 style='font-size:10.0pt;font-family:Arial'>, </span></font><font size=2
  face=Arial><span style='font-size:10.0pt;font-family:Arial'>PA</span></font><font
 size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'> \
</span></font><font  size=2 face=Arial><span \
style='font-size:10.0pt;font-family:Arial'>16802</span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><a \
href="www.personal.psu.edu/jua130">www.personal.psu.edu/jua130</a></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>



_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic