<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi,<br><br>I'm very new to both GIS and PostGIS spatial database. I've started read<br>PostGIS manual (1.4) and on chapter 4.2.5 found:  "As such, many PostGIS<br>methods require, or more accurately, assume that geometries that are<br>operated on are both simple and valid." <br><br>This has broken my idea how to represent GPS track in PostGIS database: I<br>thought about to save GPS track as linestring created from trackpoints, but<br>this may generally lead to non-simple linestring.  My next thought was to<br>split the non-simple linestring to multiple simple linestrings and this is where<br>I need your help. Is PostGIS capable to do it for me? If not, what tool<br>(best using java) can I use to split complex linestring to OGC compliant<br>multiple simple linestrings please?<br><br>Thank you very much for any help. <br>Pavla
 Novakova</td></tr></table><br>