### Russia MultiPolygon WKT Source: https://github.com/locationtech/spatial4j/blob/master/src/test/resources/russia.wkt.txt The Well-Known Text (WKT) representation of a MultiPolygon for Russia. ```wkt MULTIPOLYGON (((137.26720929547815 53.60971813374698, 47.76081821211881 41.196582122186356, 27.348436193108284 57.58898213745297, 180.00000033527613 68.98010014806175, 137.26720929547815 53.60971813374698)), ((-173.191408993659 64.25442714366065, -180 65.0689091444192, -180 68.98010014806175, -169.70717299041405 66.12664514540427, -172.80264499329695 65.67470014498338, -173.191408993659 64.25442714366065)), ((60.94443622439701 76.062763154658, 67.57026323056778 77.01304515554304, 68.9313632318354 76.78276315532855, 56.749582220490254 73.245263152034, 53.63270021758743 73.75894515251241, 60.94443622439701 76.062763154658)), ((143.43136330121894 46.01943612667799, 141.8194272997177 46.485827127112344, 142.71342730055034 54.42457313450586, 144.74069130243834 48.64530012912351, 143.43136330121894 46.01943612667799)), ((53.51500021747779 71.27470015019878, 55.76305421957147 73.32360915210697, 57.63311822131311 70.72810914968971, 55.14214521899319 70.55568214952913, 53.51500021747779 71.27470015019878)), ((142.4874543003399 74.8116451534928, 139.050536297139 74.64803615334046, 136.8606542950995 75.35206315399611, 138.83218229693563 76.22026315480468, 145.38210930303575 75.51547315414831, 142.4874543003399 74.8116451534928)), ((93.22442725446007 79.43776315780121, 94.97053625608629 80.101091158419, 100.06803626083371 79.77269115811316, 98.5599822594292 78.776091157185, 93.22442725446007 79.43776315780121)), ((96.77470025776654 80.22249115853205, 94.8474912559717 80.140827158456, 93.67831825488281 79.99413615831938, 91.42490925278418 80.31011815861368, 96.77470025776654 80.22249115853205)), ((105.25278226566235 78.47998215690922, 102.71804526330169 78.1599911566112, 99.34137226015696 78.01999115648081, 102.30554526291752 79.42553615778985, 105.25278226566235 78.47998215690922)), ((123.55498228270761 73.20832715199961, 124.35860028345604 73.80359115255399, 126.71089128564677 73.08102715188105, 126.29387228525843 72.8997181517122, 126.16581828513915 72.30192715115547, 124.71831828379106 72.67637315150418, 122.43235428166207 72.97718215178435, 123.55498228270761 73.20832715199961)), ((146.5072633040836 75.5871911542151, 146.9722003045166 75.33831815398332, 150.95303630822406 75.1394361537981, 148.25610030571232 74.78915415347186, 146.0741453036802 75.22372715387661, 146.5072633040836 75.5871911542151)), ((20.942836187142603 55.28720013530926, 22.60290918868867 55.04485413508357, 22.78588218885909 54.363836134449315, 19.797009186075485 54.43754513451796, 20.942836187142603 55.28720013530926)), ((126.77192728570361 73.07638215187671, 127.04165428595485 73.53776315230641, 129.11856328788912 73.09776315189663, 126.33096328529297 72.47790915131935, 126.77192728570361 73.07638215187671)), ((141.16080029910432 73.87733615262266, 142.51302730036366 73.83888215258685, 143.50582730128832 73.23027315202006, 139.65359129770064 73.40220915218018, 141.16080029910432 73.87733615262266)), ((46.69887321112978 80.26610015857267, 49.192218213451895 80.52138215881041, 49.814154214031134 80.89110015915475, 51.74624521583053 80.71512715899087, 46.69887321112978 80.26610015857267)), ((-180 70.99720914994035, -179.6285999996541 71.5771911504805, -177.44154499761726 71.22934515015655, -179.2744449993243 70.90776314985703, -180 70.99720914994035)), ((48.232100212557725 69.08409114815862, 49.00901821328128 69.509709148555, 50.32943621451102 69.12449114819623, 48.785409213073024 68.72303614782237, 48.232100212557725 69.08409114815862)), ((59.31334522287793 80.5414271588291, 59.724709223261044 80.83388215910145, 62.28401822564459 80.77082715904274, 61.06610022451031 80.40359115870072, 59.31334522287793 80.5414271588291)), ((62.557463225899255 80.84411815911099, 64.55026322775518 81.19581815943855, 65.4673452286093 80.92512715918645, 63.212491226509286 80.68165415895967, 62.557463225899255 80.84411815911099)), ((59.91193622343542 69.6663821487009, 59.01777322260267 69.85386314887552, 58.40915422203585 70.25360914924781, 60.54693622402681 69.80248214882766, 59.91193622343542 69.6663821487009)), ((126.67566328561401 72.42893615127375, 127.80053628666161 72.64137315147158, 129.55872728829905 72.22207315108108, 128.76360928755855 72.07415415094331, 126.67566328561401 72.42893615127375)), ((91.08665425246915 80.0486001583701, 90.86442725226215 80.05720915837813, 92.90776325416516 80.02192715834528, 93.80872725500427 79.89179115822407, 91.08665425246915 80.0486001583701)), ((180.00000033527613 71.53585415044199, 180.00000033527613 70.99720914994035, 178.61940033399037 71.0315091499723, 178.87219133422582 71.21748215014549, 180.00000033527613 71.53585415044199)), ((46.08416321055731 80.43691815873177, 44.860000209417194 80.61345415889616, 47.501936211877705 80.85554515912165, 48.764854213053894 80.64942715892968, 46.08416321055731 80.43691815873177)), ((112.78777227267989 74.09193615282254, 112.15941827209468 74.13471815286238, 111.45596327143954 74.32159115303642, 113.41998227326866 74.42499115313271, 112.78777227267989 74.09193615282254)), ((69.8735092 ``` -------------------------------- ### Build and publish the Maven site Source: https://github.com/locationtech/spatial4j/blob/master/devnotes.md Commands to build the Maven site, which includes Javadoc, and then publish it to SCM. ```bash mvn clean site mvn scm-publish:publish-scm ``` -------------------------------- ### Prepare the release Source: https://github.com/locationtech/spatial4j/blob/master/devnotes.md Maven command to prepare for a release, which includes creating a tag and updating the POM file. ```bash mvn release:prepare ``` -------------------------------- ### Making a snapshot release Source: https://github.com/locationtech/spatial4j/blob/master/devnotes.md Command to deploy a snapshot release. ```bash mvn deploy -Prelease ``` -------------------------------- ### Viewing Project History Source: https://github.com/locationtech/spatial4j/blob/master/CONTRIBUTING.md Command to fetch the pre-LocationTech history of the project. ```bash git fetch origin refs/replace/*:refs/replace/* ``` -------------------------------- ### Perform the release Source: https://github.com/locationtech/spatial4j/blob/master/devnotes.md Maven command to perform the release, which builds, GPG signs, and deploys artifacts to Sonatype. ```bash mvn release:perform ``` -------------------------------- ### Clean up release artifacts Source: https://github.com/locationtech/spatial4j/blob/master/devnotes.md Maven command to clean up release-related files. ```bash mvn release:clean ``` -------------------------------- ### Apache License 2.0 Boilerplate Source: https://github.com/locationtech/spatial4j/blob/master/asl-v20.txt This is the standard boilerplate text to include when applying the Apache License to your work. ```text Copyright [yyyy] [name of copyright owner] Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. ``` -------------------------------- ### Reader/Writer API Source: https://github.com/locationtech/spatial4j/blob/master/FORMATS.md Obtaining ShapeReader and ShapeWriter instances from a SpatialContext. ```Java SpatialContext ctx = ...; ShapeReader shpReader = ctx.getFormats().getReader(ShapeIO.WKT); ShapeWriter shpWriter = ctx.getFormats().getWriter(ShapeIO.WKT); ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.