Thanks Martin. Yes it is a polygon without a hole. I will find a method to
snap the intrusion.
Best, Brian.
On Thu, Nov 14, 2013 at 4:54 PM, Brian Sanjeewa Rupasinghe <
[email protected]> wrote:
>
> Hi,
>
> I have the following polygon which has an inner ring touched by a point
> with outer ring. When calculated the number of inner rings, it is zero. It
> means that there are no inner rings.
> However, i need to capture this hole and fill it. In other words, if i can
> get the exterior
> ring, that is fine. But the problem is this polygon is not idfentified as
> a polygon with holes.
> Any idea to remove the hole or fill it.
>
>
>
> POLYGON ((401607.9099491445 487564.34999720525, 401596.5699470426
> 487574.3599894931, 401615.120006769 487583.8599337604, 401620.30811307655
> 487579.27379075147, 401628.74657292967 487571.8144252506, 401641.3690816791
> 487560.6564778881, 401637.6635103701 487584.248000443, 401634.52001678175
> 487583.0199285389, 401633.9800038822 487584.4199283111, 401631.34994520404
> 487583.42997017043, 401630.45997784944 487585.75997168437,
> 401632.5499714718 487586.5899550011, 401630.96994324675 487590.7099693679,
> 401633.58001582074 487591.72998561716, 401633.0299601177 487593.1899672991,
> 401636.23996030475 487594.42992979946, 401640.57784997486
> 487583.2925245879, 401650.08882033004 487584.7820332256, 401645.94998682674
> 487611.1199660381, 401648.98999948316 487611.5999412314, 401647.71996459516
> 487619.6699718215, 401664.39798904123 487627.7014672203, 401647.08722765144
> 487628.7582541216, 401663.57312242134 487630.20670859434,
> 401647.89243286476 487635.90618833073, 401647.06992148794
> 487628.7593106278, 401647.06991454744 487628.7593110515, 401647.06977066793
> 487628.7580608154, 401647.0460873634 487628.7607650954, 401643.8800631471
> 487628.95404486393, 401644.84864031186 487637.0125248233,
> 401641.67324501736 487638.1666864234, 401644.70323287067 487652.2466525752,
> 401664.3932753125 487647.91664183344, 401664.7932289671 487649.71669100673,
> 401674.89324787265 487647.51057137054, 401674.8932482486 487639.5538380857,
> 401674.8932734309 487639.55383250944, 401674.8932591279 487639.5537776538,
> 401674.89325912733 487639.5537156155, 401674.8932344865 487639.5537210732,
> 401672.1037383157 487628.8556351256, 401674.06996319734 487626.90996419464,
> 401674.1564766487 487626.35994329624, 401674.56095708715
> 487623.78770453396, 401675.99999945046 487614.6363166559, 401675.9999982765
> 487591.30150919524, 401678.207874174 487591.30151862156, 401675.99999794946
> 487582.1540852095, 401676.000000309 487578.8345755924, 401670.88997657795
> 487579.46995019395, 401674.46000464336 487556.54000277084,
> 401675.9999989226 487556.782679885, 401675.9999989225 487543.5233630388,
> 401658.19999766815 487538.0199353068, 401657.77999121684 487540.6799582873,
> 401655.1599911095 487540.26997251314, 401653.929967876 487548.17996562645,
> 401655.94996218034 487548.4999597364, 401653.9299693888 487561.19996767375,
> 401641.9448298227 487559.3183160978, 401644.3200077603 487541.4299947397,
> 401639.0900174236 487540.7899669374, 401638.0400077704 487548.5699675426,
> 401631.8099553832 487544.12994352594, 401625.97995670396 487547.0199252671,
> 401619.3118706586 487557.00440195797, 401609.289995828 487565.8599423533,
> 401607.9099491445 487564.34999720525))
>
> Best Brian.
>
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Jts-topo-suite-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jts-topo-suite-user