12.07.2015 Views

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

PostGIS 1.5.8 Manual - Fedora Project Packages GIT repositories

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>PostGIS</strong> <strong>1.5.8</strong> <strong>Manual</strong>219 / 310220229.922471872 150505.537924272,220227.47650166 150505.099855856,220225.054972724 ←↪150504.542297043,220222.663718741 150503.86659104,220220.308500449 150503.074365683,220217.994991777 150502.167529512,220215.72876617 150501.148267175,220213.515283163 150500.019034164,220211.35987523 150498.7825509,220209.267734939 150497.441796181,220207.243902439 150496,220205.293253319 150494.460635772,220203.420486864 150492.82741196,220201.630114732 ←↪150491.104263143,220199.926450087 150489.295340538,220198.313597205 150487.405001997,220196.795441592 ←↪150485.437801511,220195.375640616 150483.39847824,220194.057614703 150481.291945091,220192.844539092 ←↪150479.123276887,220191.739336189 150476.89769814,220190.744668525 150474.620570464,220189.86293234 150472.297379659,220189.096251815 ←↪150469.933722495,220188.446473951 150467.535293229,220187.915164118 150465.107869888,220187.50360229 ←↪150462.657300346,220187.212779953 150460.189488241,220187.043397726 150457.710378749,220186.995863664 ←↪150455.22594426,220187.070292282 150452.742169995,220187.266504273 150450.265039585,220187.584026947 ←↪150447.800520653,220188.022095363 150445.35455044,220188.579654177 150442.933021505,220189.25536018 ←↪150440.541767521,220190.047585536 150438.18654923,220190.954421707 150435.873040558,220191.973684044 ←↪150433.60681495,220193.102917055 150431.393331943,220194.339400319 150429.237924011,220195.680155039 ←↪150427.14578372,220197.12195122 150425.12195122,220198.661315447 150423.171302099,220200.29453926 150421.298535644,220202.017688077 ←↪150419.508163512,220203.826610682 150417.804498867,220205.716949223 150416.191645986,220207.684149708 150414.673490372,220209.72347298 ←↪150413.253689397,220211.830006129 150411.935663483,220213.998674333 150410.722587873,220216.22425308 150409.61738497,220218.501380756 ←↪150408.622717305,220220.824571561 150407.740981121,220223.188228725 150406.974300596,220225.586657991 150406.324522731,220227 150406)--3d exampleSELECT ST_AsEWKT(ST_CurveToLine(ST_GeomFromEWKT(’CIRCULARSTRING(220268 150415 1,220227 ←↪150505 2,220227 150406 3)’)));Output------LINESTRING(220268 150415 1,220269.95064912 150416.539364228 1.0181172856673,220271.823415575 150418.17258804 1.03623457133459,220273.613787707 150419.895736857 ←↪1.05435185700189,....AD INFINITUM ....220225.586657991 150406.324522731 1.32611114201132,220227 150406 3)--use only 2 segments to approximate quarter circleSELECT ST_AsText(ST_CurveToLine(ST_GeomFromText(’CIRCULARSTRING(220268 150415,220227 ←↪150505,220227 150406)’),2));st_astext------------------------------LINESTRING(220268 150415,220287.740300149 150448.342699654,220278.12195122 ←↪150485.87804878,220244.779251566 150505.61834893,220207.243902439 150496,220187.50360229 150462.657300346,220197.12195122 150425.12195122,220227 150406)See AlsoST_LineToCurve

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!