<?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: Use a GPS Tracker in a web application in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470967#M43624</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no need to install the NodeJS-TK102 then, I guess.&lt;/P&gt;&lt;P&gt;I have now successfully installed the NODEJS : &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Nodejs.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/61961_Nodejs.png" style="width: 620px; height: 347px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the next step please? Connect the GPS Tracker to the NodeJS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Feb 2015 19:26:38 GMT</pubDate>
    <dc:creator>El_BoukfaouiReda</dc:creator>
    <dc:date>2015-02-14T19:26:38Z</dc:date>
    <item>
      <title>Use a GPS Tracker in a web application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470963#M43620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using this GPS tracker(&lt;A href="http://kenshinjeff.jp/wp-content/uploads/2011/09/User-manual-TK102-2.pdf" title="http://kenshinjeff.jp/wp-content/uploads/2011/09/User-manual-TK102-2.pdf"&gt;http://kenshinjeff.jp/wp-content/uploads/2011/09/User-manual-TK102-2.pdf&lt;/A&gt; ).&lt;/P&gt;&lt;P&gt;I want now to get real time movement data locations on top of my basemap service using the ArcGIS JS API and without getting to use GeoEvent processor Extension&lt;/P&gt;&lt;P&gt;I have done my research and I found that there is a possibility to use this library(&lt;A href="https://github.com/fvdm/nodejs-tk102" title="https://github.com/fvdm/nodejs-tk102"&gt;fvdm/nodejs-tk102 · GitHub&lt;/A&gt;‌)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anybody got any experience setting this up before?&lt;/P&gt;&lt;P&gt;I need more details and guidance please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 15:56:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470963#M43620</guid>
      <dc:creator>El_BoukfaouiReda</dc:creator>
      <dc:date>2015-02-11T15:56:17Z</dc:date>
    </item>
    <item>
      <title>Re: Use a GPS Tracker in a web application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470964#M43621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that's a pretty loaded question and will require some thought based on your responses.&amp;nbsp; Do you already have Node up and running?&amp;nbsp; What's your productions environment, windows, linux?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Feb 2015 18:52:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470964#M43621</guid>
      <dc:creator>HaroldBostic</dc:creator>
      <dc:date>2015-02-11T18:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Use a GPS Tracker in a web application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470965#M43622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know it is a pretty important question as well to me right now.&lt;/P&gt;&lt;P&gt;I don't have a Node up on running! I am very new to this processing. For me it is almost in R&amp;amp;D.&lt;/P&gt;&lt;P&gt;My production environment is Windows, but I still can work with a Linux Desktop through a virtual partition within my current machine hopefully.&lt;/P&gt;&lt;P&gt;Do you think the tutorial is a good resource to follow even if the GPS Tracker is not the same? &lt;/P&gt;&lt;P&gt;I recognize though some processes which are mutual to my GPS Tracker TK-102 which is a Siemens and not a Xexun !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 13:49:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470965#M43622</guid>
      <dc:creator>El_BoukfaouiReda</dc:creator>
      <dc:date>2015-02-14T13:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Use a GPS Tracker in a web application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470966#M43623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not a GPS tracker guy, so take that I don't think the differences will be major with a grain of salt.&amp;nbsp; To get started with Node in a windows environment, I would recommend downloading &lt;A href="https://chocolatey.org/" title="https://chocolatey.org/"&gt;Chocolatey Gallery&lt;/A&gt; and using that as you windows package manager.&amp;nbsp; then from your command line you can do this &lt;/P&gt;&lt;P&gt;&lt;CODE&gt;C:\&amp;gt; choco install nodejs.install&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suppose you'll need to have your device connected to your machine so that it can communicate to your open port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If connecting your machine to your device is not an option, I would suggest using OpenShift to get things up and going on the open web for free.&amp;nbsp; Sign up for an account and follow these instructions&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.openshift.com/en/getting-started-windows.html" title="https://developers.openshift.com/en/getting-started-windows.html"&gt;OpenShift Online for Windows | OpenShift Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once you get Node setup on your machine or OpenShift, come back and we'll go to the next step.&lt;/P&gt;&lt;P&gt;If you need help getting set up, let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 18:22:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470966#M43623</guid>
      <dc:creator>AlexBostic</dc:creator>
      <dc:date>2015-02-14T18:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: Use a GPS Tracker in a web application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470967#M43624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no need to install the NodeJS-TK102 then, I guess.&lt;/P&gt;&lt;P&gt;I have now successfully installed the NODEJS : &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Nodejs.png" class="jive-image image-1" src="https://community.esri.com/legacyfs/online/61961_Nodejs.png" style="width: 620px; height: 347px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the next step please? Connect the GPS Tracker to the NodeJS?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 19:26:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470967#M43624</guid>
      <dc:creator>El_BoukfaouiReda</dc:creator>
      <dc:date>2015-02-14T19:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Use a GPS Tracker in a web application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470968#M43625</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would still install NodeJS-TK102.&amp;nbsp; From your command line navigate to the directory you want to operate from (you may have to create it)&amp;nbsp; For prototypes, I put things in my c&amp;gt;projects directory, so I would create a folder under C:\projects\ called tk102, then I create a folder under that called server.&amp;nbsp; So mine would be C:\projects\tk102\server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once you are in that directory run this command taken from the github repo you posted &lt;CODE&gt;npm install tk102 &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will install the NodeJS-TK102 library for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next, you'll want to prepare your device for transponding your coords, do you have instructions on that, or the manual you can link to?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after that you would create a node project, pull in the library and interact with it's api.&amp;nbsp; I can post about that later&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Feb 2015 20:04:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470968#M43625</guid>
      <dc:creator>AlexBostic</dc:creator>
      <dc:date>2015-02-14T20:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Use a GPS Tracker in a web application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470969#M43626</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have installed NODEJS-TK102 successfully.&lt;/P&gt;&lt;P&gt;I have set-up one point coordinate and many using auto tracking and following the manual instructions.&lt;/P&gt;&lt;P&gt;I am ready for the next step which is creating a node project. I have also connected my GPS Tracker to my laptop. Can you give me more details about how to interact with it now using the Node and collect the required coordinates?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 17:25:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470969#M43626</guid>
      <dc:creator>El_BoukfaouiReda</dc:creator>
      <dc:date>2015-02-15T17:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: Use a GPS Tracker in a web application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470970#M43627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I recommend that you get an IDE if you don't have one.&amp;nbsp; I recommend WebStorm, but it's only free for a month, then you'll have to pay.&amp;nbsp; Some alternatives are Visual Studio, Aptana, search this forum for others&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next you'll go on your command line and navigate to your project directory, mine is C:\projects\tk106\server\src&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the next step will walk you through creating your package.json file, it will ask you want you want to call your application file, it defaults to index.js, I call mine server.js, so anywhere you see server.js below, replace it with the name you give your file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type 'npm init'&lt;/P&gt;&lt;P&gt;This will help you create your package.json file which is the package manager for your file.&amp;nbsp; It will ask you a few questions, then create the file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe you said you installed tk102 already, if so, skip this step:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Once the file is created, type 'npm install tk102 --save'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the --save option will be sure to add the dependency into your package.json file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My personal preference is to install nodemon as well, so that my server auto restarts as I make changes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do that by typing 'npm install nodemon --save-dev'&lt;/P&gt;&lt;P&gt;This will add nodeman as a dependency to your development environment inside your package.json file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you installed nodemon do the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now open your package.json file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; remove the line "main": "server.js",&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; add this line in the scripts object above test&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "start": "NODE_ENV=local ./node_modules/.bin/nodemon server.js",&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on what you stated your default node file would be, create that file.&amp;nbsp; I created a file named server.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Open your server.js file and follow the example from the tk106 repo:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type the following:&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'use strict';&lt;/P&gt;&lt;P&gt;var server = require('tk102');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;server.createServer({&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; port: 1337&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;server.on( 'listening', function( listen ) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log('listening on port: ' + listen.port);&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;server.on( 'data', function( raw ) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log( 'Incoming data: '+ raw )&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;server.on( 'track', function( gps ) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log( gps )&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at this point, you should be able connect your device to your server.&amp;nbsp; if things don't work, then you'll have to dig into the tk102 server source code and update it. it's located in node_modules\tk102\tk102.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you attach the manual, I may be able to help further as any errors will probably be in the parser.&amp;nbsp; Hopefully you get something in the console.log( 'Incoming data: '+ raw ) statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me know how that goes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sometimes you may have to stop node from running, in that case I run this on my mac&lt;/P&gt;&lt;P&gt;lsof -n -i :1337&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COMMAND&amp;nbsp; PID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER&amp;nbsp;&amp;nbsp; FD&amp;nbsp;&amp;nbsp; TYPE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DEVICE SIZE/OFF NODE NAME&lt;/P&gt;&lt;P&gt;node&amp;nbsp;&amp;nbsp;&amp;nbsp; 1887 alexbostic&amp;nbsp;&amp;nbsp; 14u&amp;nbsp; IPv4 0x7e6cfdb8acf18bf5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0t0&amp;nbsp; TCP *:hbci (LISTEN)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sudo kill -9 1887&lt;/P&gt;&lt;P&gt;lsof -n -i :1337&lt;/P&gt;&lt;P&gt;npm start&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Feb 2015 19:20:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470970#M43627</guid>
      <dc:creator>AlexBostic</dc:creator>
      <dc:date>2015-02-15T19:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Use a GPS Tracker in a web application</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470971#M43628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I own the GPS tracker USB cable. So, when I get to connect it with my computer, it doesn't really react to it.&lt;/P&gt;&lt;P&gt;How do I interact with my computer then knowing that I am planning for a real-time tracking solution later on?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am expecting the following scenario as I use my tracker:&lt;/P&gt;&lt;P&gt;Receive signals from my GPS tracker while outdoors when requesting my position or proceed for a real-time tracking using the device, something like:&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.traccar.org/download/" title="https://www.traccar.org/download/"&gt;https://www.traccar.org&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find herein below the URL to the GPS tracker guide: &lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://kenshinjeff.jp/wp-content/uploads/2011/09/User-manual-TK102-2.pdf" rel="nofollow" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #287433;" target="_blank"&gt;http://kenshinjeff.jp/wp-content/uploads/2011/09/User-manual-TK102-2.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And Thank you again ! You have been so helpful till now ! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2015 15:17:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/use-a-gps-tracker-in-a-web-application/m-p/470971#M43628</guid>
      <dc:creator>El_BoukfaouiReda</dc:creator>
      <dc:date>2015-07-29T15:17:56Z</dc:date>
    </item>
  </channel>
</rss>

