<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Invalid argument - unknown wkt,this is the exception which i got in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236784#M669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way I can help you is that you post your project code and input data. I will see what is wrong there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Mar 2017 06:39:18 GMT</pubDate>
    <dc:creator>nita14</dc:creator>
    <dc:date>2017-03-01T06:39:18Z</dc:date>
    <item>
      <title>Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236778#M663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I use the&amp;nbsp;shapefileTable to open the shapefiles on my machine,write with the&amp;nbsp;absolute path.I download the local shapefiles(include .dbf .prj .shp .shx) from google.and all the code are from&amp;nbsp;&lt;A href="https://developers.arcgis.com/java/10-2/sample-code/shapefile-feature-layer/"&gt;https://developers.arcgis.com/java/10-2/sample-code/shapefile-feature-layer/&lt;/A&gt;&amp;nbsp; .I only change the shapefileTable line of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try {&lt;BR /&gt; shapefileTable = new ShapefileFeatureTable("E:\\antarctica-icesheet-polygons-3857\\icesheet_polygons.shp");&lt;BR /&gt; featureLayer = new FeatureLayer(shapefileTable);&lt;/P&gt;&lt;P&gt;// create a renderer&lt;BR /&gt; UniqueValueRenderer uvRenderer = new UniqueValueRenderer(&lt;BR /&gt; new SimpleFillSymbol(new Color(100, 0, 0, 255), null), "icesheet_polygons");&lt;/P&gt;&lt;P&gt;// set renderer&lt;BR /&gt; featureLayer.setRenderer(uvRenderer);&lt;BR /&gt; jMap.getLayers().add(featureLayer);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the shapefiels(&lt;SPAN&gt;include .dbf .prj ..sbn .sbx shp .shp.xml .shx&lt;/SPAN&gt;) that the sample code use are more.Is that the problem?&lt;/P&gt;&lt;P&gt;I HOPE THERE IS SOMEBODY TO HELP ME OUT! &amp;nbsp; THANK YOU!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 05:50:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236778#M663</guid>
      <dc:creator>竹丰刘</dc:creator>
      <dc:date>2017-02-20T05:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236779#M664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this problem is kill me out,,,,I am a chinese guy（and a student）,but I can barely found any solution about this,even sample.from chinese&amp;nbsp;website 0.0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 06:20:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236779#M664</guid>
      <dc:creator>竹丰刘</dc:creator>
      <dc:date>2017-02-20T06:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236780#M665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First of all, the attached shapefile does not have correctly spatial reference specified (wrong .prj file). As the shapefile's name states, it is WKID 3857 - that is Web Mercator Auxilliary Sphere. You need to Define Projection (as WKID 3857) &amp;nbsp;and Project data to Basemap spatial reference which is WGS-1984 (WKID 4326) using ArcGIS Desktop or any other GIS tool. Check out this blog:&amp;nbsp;&lt;A class="link-titled" href="https://blogs.esri.com/esri/supportcenter/2013/08/23/when-to-use-the-define-projection-tool-and-the-project-tool-2/" title="https://blogs.esri.com/esri/supportcenter/2013/08/23/when-to-use-the-define-projection-tool-and-the-project-tool-2/"&gt;When to use the Define Projection tool and the Project tool? | Support Services Blog&lt;/A&gt;&amp;nbsp;for further guidance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, &amp;nbsp;you have two options:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Use &lt;SPAN style="background-color: #ffffff;"&gt;ShapefileFeatureTable, then both Basemap and Shapefile spatial refences need to be the same. If not, shapefile is not displayer or misaligned.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;2) Use LocalService's Dynamic Workspace (not recommended)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;LocalServer can project the data on-the-fly. Check out ArcGIS Runtime Sample App for 10.2.4 - Dynamic workspaces: shapefile for assistance.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Hope this helps,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Adam&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2017 08:21:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236780#M665</guid>
      <dc:creator>nita14</dc:creator>
      <dc:date>2017-02-20T08:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236781#M666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry for so late to answer you,and really thank you for the answer.I have been use your method that i change the basemap url become a WKID 3857 one.and the same exception is reported .the following line is the same exception:&lt;/P&gt;&lt;P&gt;java.lang.RuntimeException: Invalid argument - unknown wkt&lt;BR /&gt; at com.esri.core.geodatabase.Geodatabase.nativeOpenShapefile(Native Method)&lt;BR /&gt; at com.esri.core.geodatabase.Geodatabase.a(Unknown Source)&lt;BR /&gt; at com.esri.core.geodatabase.ShapefileFeatureTable.&amp;lt;init&amp;gt;(Unknown Source)&lt;BR /&gt; at ShapefileApp.createMap(ShapefileApp.java:66)&lt;BR /&gt; at ShapefileApp.createUI(ShapefileApp.java:126)&lt;BR /&gt; at ShapefileApp$1.run(ShapefileApp.java:104)&lt;/P&gt;&lt;P&gt;it's first six line of exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;perhaps there is some problem with the shapefiles that I dowoload.and i have been required to use the&amp;nbsp;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 13px;"&gt;California street map in the java project in the end.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 02:43:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236781#M666</guid>
      <dc:creator>竹丰刘</dc:creator>
      <dc:date>2017-02-23T02:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236782#M667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Have you used Define Projection tool to re-create valid .prj file? If not, you have to do so. Apparently, there is still issue with your shapefile. Also, you should add the same shapefile to ArcMap and see if the warning about unknown spatial reference pops up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2017 06:36:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236782#M667</guid>
      <dc:creator>nita14</dc:creator>
      <dc:date>2017-02-23T06:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236783#M668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello ,Adam.thank you for your answer,how nice of you.these days I have try to solve my problem,but it's still some problem in my project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First,the project can be runing ,and the window can show out,but there is nothing be drawed in the window which is all blank.&lt;/P&gt;&lt;P&gt;I FEEL better because it's not be throw out the exception i encounter before.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second,the shapefiles i downdoad can be draw in the Arcmap(desktop vision 10.1),there is a lot of line which represents the road in the&amp;nbsp;&lt;SPAN&gt;Arcmap.I USE the&amp;nbsp;analysisMap function,then it tells me that the map don't have the Spatial&amp;nbsp;Reference or index（in chinese both are same meaning,my Arcmap are chinese vision）,which &amp;nbsp;it's a&amp;nbsp;serious warning，and I double-click it ,and then the map was added the&amp;nbsp;Spatial&amp;nbsp;&lt;SPAN&gt;Reference.And the file was added more three new files which is sbn. sbx. and shp.xml.but the window are still all blank.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;the render code are followed： UniqueValueRenderer uvRenderer = new UniqueValueRenderer(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;new SimpleLineSymbol(Color.RED, 1), "name");&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;featureLayer.setRenderer(uvRenderer);&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;jMap.getLayers().add(featureLayer);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;any error in my code?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I KNOW the&amp;nbsp;UniqueValueRenderer class' second&amp;nbsp;parameter is&amp;nbsp;column Header from the dbf.file which you can open it to see it .the sample code is also use the&amp;nbsp;column &lt;SPAN&gt;Header to be the&amp;nbsp;second&amp;nbsp;&lt;SPAN&gt;parameter,and the sample can be drawed.BUT in my projet use it the same way,but it just can't be drawed,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Third,you tell me to re-creat the prj,file by&amp;nbsp;Arcmap.I wish i can handle it ,but the function to define the projection have some problems.&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/332025_无标题.png" /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;when I choose my shapefile,it tell that my date set is not exist or not supported.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;I AM JUST CONFUSED.IF you know something that can help,please let me know.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 06:04:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236783#M668</guid>
      <dc:creator>竹丰刘</dc:creator>
      <dc:date>2017-03-01T06:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236784#M669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The only way I can help you is that you post your project code and input data. I will see what is wrong there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 06:39:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236784#M669</guid>
      <dc:creator>nita14</dc:creator>
      <dc:date>2017-03-01T06:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236785#M670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://drive.google.com/file/d/0ByZREpSbunnjZWRYLTdvd0JabWs/view?usp=sharing" title="https://drive.google.com/file/d/0ByZREpSbunnjZWRYLTdvd0JabWs/view?usp=sharing"&gt;california-latest-free-roads.shp.rar - Google Drive&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the shapefiles in clonddisk lisk.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://drive.google.com/file/d/0ByZREpSbunnjZmRGVDRIQVY5MWc/view?usp=sharing" title="https://drive.google.com/file/d/0ByZREpSbunnjZmRGVDRIQVY5MWc/view?usp=sharing"&gt;code .txt - Google Drive&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is the code text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/332026_无标题.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;and this is my project.ArcGIS_runtime_java's vision is 10.2.4.I BUILD the project by the steps by the &amp;nbsp;official guide tell me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 07:37:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236785#M670</guid>
      <dc:creator>竹丰刘</dc:creator>
      <dc:date>2017-03-01T07:37:39Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236786#M671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The shapefile is not corrupted (Please remove the first dot (.) in the file name, there should be &lt;SPAN&gt;gisosm_roads_free_1 instead of&amp;nbsp;gis.osm_roads_free_1&lt;/SPAN&gt;) and the code is almost perfect - you should not use unique value renderer &amp;nbsp;in this case, since there are too many values, which you do not actually add. Also, the rendering time of the whole shapefile on my machine is about 2 minutes - far too long.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="332086" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/332086_pastedImage_1.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I created a subset of shapefile the rendering is almost instantaneous. I suggest you do not display the whole shapefile, you can use Local Tiled Layer for display purposes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the valid code of the createMap() function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;private JMap createMap() {&lt;BR /&gt; // map&lt;BR /&gt; JMap jMap = new JMap();&lt;/P&gt;&lt;P&gt;ArcGISTiledMapServiceLayer basemap = new ArcGISTiledMapServiceLayer(BASEMAP_URL);&lt;BR /&gt; basemap.setOpacity(0.5f);&lt;BR /&gt; jMap.getLayers().add(basemap);&lt;/P&gt;&lt;P&gt;// Add shapefile&lt;BR /&gt; try {&lt;BR /&gt; shapefileTable = new ShapefileFeatureTable("C:\\tmp\\gisosm_roads_free_1.shp");&lt;BR /&gt; featureLayer = new FeatureLayer(shapefileTable);&lt;/P&gt;&lt;P&gt;// create a renderer&lt;BR /&gt; SimpleRenderer simpleRend = new SimpleRenderer(new SimpleLineSymbol(Color.RED, 2.0f, SimpleLineSymbol.Style.SOLID));&lt;/P&gt;&lt;P&gt;// set renderer &lt;BR /&gt; featureLayer.setRenderer(simpleRend); &lt;BR /&gt; jMap.getLayers().add(featureLayer);&lt;/P&gt;&lt;P&gt;} catch (FileNotFoundException e) {&lt;BR /&gt; JOptionPane.showMessageDialog(jMap, &lt;BR /&gt; wrap(e.getLocalizedMessage()), "",JOptionPane.ERROR_MESSAGE);&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;return jMap;&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 08:47:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236786#M671</guid>
      <dc:creator>nita14</dc:creator>
      <dc:date>2017-03-01T08:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236787#M672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you so much!!!&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOW I can show the map .but it's takes too long to render it.&lt;/P&gt;&lt;P&gt;the shapefile that is too big is the reason why? IS &amp;nbsp;there any to solve this problem&lt;/P&gt;&lt;P&gt;and if the shapefiles' result is so not good enough,maybe &amp;nbsp;i should to only use the basemap(which its url is &lt;A class="link-titled" href="https://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer" title="https://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"&gt;World_Street_Map (MapServer)&lt;/A&gt;&amp;nbsp;)and not to use the shapefiles.&lt;SPAN style="color: #111111; background-color: #ffffff; font-size: 13px;"&gt;┑(￣Д ￣)┍&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 11:05:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236787#M672</guid>
      <dc:creator>竹丰刘</dc:creator>
      <dc:date>2017-03-01T11:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236788#M673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;maybe &amp;nbsp;i should to only use the basemap(which its url is &lt;/SPAN&gt;&lt;A class="" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fservices.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FWorld_Street_Map%2FMapServer" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; font-size: 14px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;World_Street_Map (MapServer)&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&amp;nbsp;)and not to use the shapefiles&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt; - GOOD &amp;nbsp;IDEA &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Adam&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Mar 2017 11:24:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236788#M673</guid>
      <dc:creator>nita14</dc:creator>
      <dc:date>2017-03-01T11:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236789#M674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello，&lt;SPAN style="background-color: #ffffff;"&gt;Adam.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I HAVE one more problem to ask you again,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;when i use point(which longitude and latitude are west-&lt;SPAN&gt;longitude 122 and north-latitude 37&lt;/SPAN&gt;)in&amp;nbsp;&lt;SPAN style="color: #333333; font-size: 13px;"&gt;State of California&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 13px;"&gt;the code is following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 13px;"&gt;private JMap createMap() {&lt;BR /&gt; // map&lt;BR /&gt; JMap jMap =new JMap();&lt;BR /&gt; //MapOptions mapOptions = new MapOptions(MapType.TOPO);&lt;BR /&gt; //jMap = new JMap(mapOptions);&lt;BR /&gt; ArcGISTiledMapServiceLayer basemap = new ArcGISTiledMapServiceLayer(BASEMAP_URL);&lt;BR /&gt; &lt;BR /&gt; jMap.getLayers().add(basemap);&lt;BR /&gt; &lt;BR /&gt; GraphicsLayer myGraphicsLayer = new GraphicsLayer();&lt;BR /&gt; &lt;BR /&gt; SimpleMarkerSymbol simpleMarker = new SimpleMarkerSymbol(Color.RED, 10, Style.CIRCLE);&lt;BR /&gt; &lt;BR /&gt; SpatialReference spatialReference = SpatialReference.create(4326);&lt;BR /&gt; &lt;BR /&gt; Point point = GeometryEngine.project(37.6, -122.5, spatialReference);&lt;BR /&gt; Point point1 = new Point(37.6, -122.5);&lt;BR /&gt; myGraphicsLayer.addGraphic(new Graphic(point1, simpleMarker));&lt;BR /&gt; &lt;BR /&gt; jMap.getLayers().add(myGraphicsLayer);&lt;BR /&gt; jMap.setShowingEsriLogo(false);&lt;BR /&gt; jMap.setExtent(new Envelope(-15967900, 1670500, -6360000, 8079000));&lt;BR /&gt; &lt;BR /&gt; return jMap;&lt;BR /&gt; }&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 13px;"&gt;THE red point is supposed to show in&amp;nbsp;State of California,but it is showing nearly by the&amp;nbsp;Africa，it's obviouly wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 13px;"&gt;i thought it maybe &amp;nbsp;is because of the&amp;nbsp;SpatialReference is wrong,but what number instead of 4326 I suppose to use?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 13px;"&gt;or there is some method to mark the&amp;nbsp;longitude is west-longitude and the latitude is north-l&lt;SPAN style="background-color: #ffffff;"&gt;atitude?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 13px;"&gt;AND the code: jMap.setExtent(new Envelope(-15967900, 1670500, -6360000, 8079000));&lt;BR style="background-color: #ffffff;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 13px;"&gt;the function of this line of code is to set the map-view to&amp;nbsp;Include all the amerian-map.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 13px;"&gt;AND I really want to know those number(-15967900, 1670500, -6360000, 8079000) how to create.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #333333; font-size: 13px;"&gt;if those numbers is transformed by Latitude and longitude，please tell how turn&amp;nbsp;Latitude and longitude to those number.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 08:41:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236789#M674</guid>
      <dc:creator>竹丰刘</dc:creator>
      <dc:date>2017-03-06T08:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236790#M675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;hello，&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;Adam.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;I HAVE one more problem to ask you again,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit;"&gt;when i use point(which longitude and latitude are west-&lt;SPAN style="border: 0px; font-weight: inherit;"&gt;longitude 122 and north-latitude 37&lt;/SPAN&gt;)in&amp;nbsp;&lt;SPAN style="color: #333333; border: 0px; font-weight: inherit; font-size: 13px;"&gt;State of California&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;the code is following:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;private JMap createMap() {&lt;BR /&gt;// map&lt;BR /&gt;JMap jMap =new JMap();&lt;BR /&gt;//MapOptions mapOptions = new MapOptions(MapType.TOPO);&lt;BR /&gt;//jMap = new JMap(mapOptions);&lt;BR /&gt;ArcGISTiledMapServiceLayer basemap = new ArcGISTiledMapServiceLayer(BASEMAP_URL);&lt;BR /&gt;&lt;BR /&gt;jMap.getLayers().add(basemap);&lt;BR /&gt;&lt;BR /&gt;GraphicsLayer myGraphicsLayer = new GraphicsLayer();&lt;BR /&gt;&lt;BR /&gt;SimpleMarkerSymbol simpleMarker = new SimpleMarkerSymbol(Color.RED, 10, Style.CIRCLE);&lt;BR /&gt;&lt;BR /&gt;SpatialReference spatialReference = SpatialReference.create(4326);&lt;BR /&gt;&lt;BR /&gt;Point point = GeometryEngine.project(37.6, -122.5, spatialReference);&lt;BR /&gt;Point point1 = new Point(37.6, -122.5);&lt;BR /&gt;myGraphicsLayer.addGraphic(new Graphic(point1, simpleMarker));&lt;BR /&gt;&lt;BR /&gt;jMap.getLayers().add(myGraphicsLayer);&lt;BR /&gt;jMap.setShowingEsriLogo(false);&lt;BR /&gt;jMap.setExtent(new Envelope(-15967900, 1670500, -6360000, 8079000));&lt;BR /&gt;&lt;BR /&gt;return jMap;&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;THE red point is supposed to show in&amp;nbsp;State of California,but it is showing nearly by the&amp;nbsp;Africa，it's obviouly wrong.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;i thought it maybe &amp;nbsp;is because of the&amp;nbsp;SpatialReference is wrong,but what number instead of 4326 I suppose to use?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;or there is some method to mark the&amp;nbsp;longitude is west-longitude and the latitude is north-l&lt;SPAN style="background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;atitude?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;AND the code: jMap.setExtent(new Envelope(-15967900, 1670500, -6360000, 8079000));&lt;BR style="background-color: #ffffff;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;the function of this line of code is to set the map-view to&amp;nbsp;Include all the amerian-map.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;AND I really want to know those number(-15967900, 1670500, -6360000, 8079000) how to create.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;if those numbers is transformed by Latitude and longitude，please tell how turn&amp;nbsp;Latitude and longitude to those number.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 08:42:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236790#M675</guid>
      <dc:creator>竹丰刘</dc:creator>
      <dc:date>2017-03-06T08:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236791#M676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Although I know nothing about Java or whatever language, this looks to be the wrong way round :&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #333333;"&gt;GeometryEngine.project(37.6, -122.5, spatialReference);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; background-color: #ffffff;"&gt;I think that should be -122.5, 37.6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Mar 2017 11:32:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236791#M676</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2017-03-06T11:32:59Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236792#M677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Neil Ayres made good point regarding the arguments order. Also, insure that your map spatial reference is 4326, since you project the point to this wkid. Last time you mentioned going to switch back to World Street Map which is in 3857 (102100) wkid.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;竹丰 刘 napisał(-a):&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;AND the code: jMap.setExtent(new Envelope(-15967900, 1670500, -6360000, 8079000));&lt;BR style="background-color: #ffffff;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;the function of this line of code is to set the map-view to&amp;nbsp;Include all the amerian-map.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;AND I really want to know those number(-15967900, 1670500, -6360000, 8079000) how to create.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;if those numbers is transformed by Latitude and longitude，please tell how turn&amp;nbsp;Latitude and longitude to those number&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;These seem to be coordinates in 102100 WKID. You can project polygon geometry to this wkid using GeometryEngine.project as well. You just need to create new polygon. I highly recommend you read the guide to ArcGIS Runtime 10.2.4 which really good starting point. Also you can examine the runtime samples where you can find plenty of useful hints regarding extents, geometry and coordinate systems.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; border: 0px; font-weight: inherit; font-size: 13px;"&gt;Adam&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 06:38:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236792#M677</guid>
      <dc:creator>nita14</dc:creator>
      <dc:date>2017-03-07T06:38:38Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid argument - unknown wkt,this is the exception which i got</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236793#M678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WKID 3857 and 102100 are actually the same thing, just a historical difference.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/9351"&gt;https://community.esri.com/thread/9351&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 19:46:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/invalid-argument-unknown-wkt-this-is-the-exception/m-p/236793#M678</guid>
      <dc:creator>NeilAyres</dc:creator>
      <dc:date>2017-03-07T19:46:33Z</dc:date>
    </item>
  </channel>
</rss>

