Issue #1854 Fix for compatibility with PostGIS 2.0
Change-Id: I5b6ff34c823302b8db466d8e27130904bf4b82c3 Former-commit-id:fcacf03de0
[formerly 06158e2d3486770e0aeda370f12e49356d15d440] Former-commit-id:dd10f6799b
This commit is contained in:
parent
1825e7a4fc
commit
f8a20529d7
1 changed files with 4 additions and 3 deletions
|
@ -89,7 +89,8 @@ import com.vividsolutions.jts.io.WKBReader;
|
|||
*
|
||||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Aug 11, 2011 randerso Initial creation
|
||||
* Aug 11, 2011 randerso Initial creation
|
||||
* Apr 10, 2013 #1854 randerso Fix for compatibility with PostGIS 2.0
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -878,7 +879,7 @@ public class ZoneSelectorResource extends DbMapResource {
|
|||
private IShadedShape computeShape(IGraphicsTarget target,
|
||||
IMapDescriptor descriptor, Geometry g, RGB color) {
|
||||
IShadedShape newShadedShape = target.createShadedShape(false,
|
||||
descriptor, true);
|
||||
descriptor.getGridGeometry(), true);
|
||||
JTSCompiler shapeCompiler = new JTSCompiler(newShadedShape, null,
|
||||
descriptor, PointStyle.CROSS);
|
||||
try {
|
||||
|
@ -978,7 +979,7 @@ public class ZoneSelectorResource extends DbMapResource {
|
|||
|
||||
constraint.append("ST_Intersects(");
|
||||
constraint.append(geometryField);
|
||||
constraint.append(", ST_SetSrid('");
|
||||
constraint.append(", ST_GeomFromText('");
|
||||
constraint.append(g1.toString());
|
||||
constraint.append("',4326))");
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue