Can't Interpolate

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Can't Interpolate

James Lee
Hi,


I'm having a problem interpolating by distance. I created a test gpx
file that has only two points, but my output is the same as input.

I'm using GPSBabel Version 1.5.3, and here's my command.

gpsbabel -i gpx -f map.gpx -x interpolate,distance=1k -o gpx -F newmap.gpx

Here's the map.gpx.


<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.1" creator="GPSBabel - http://www.gpsbabel.org"
xmlns="http://www.topografix.com/GPX/1/1"
xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3"
xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <metadata>
     <time>2016-07-19T04:53:45.966Z</time>
     <bounds minlat="42.345243400" minlon="-71.090298900"
maxlat="42.355112800" maxlon="-71.065582200"/>
   </metadata>
   <wpt lat="42.345243400" lon="-71.090298900">
     <name>40 Fenway</name>
     <cmt>40 Fenway, Boston, MA 02215, USA</cmt>
     <desc>40 Fenway, Boston, MA 02215, USA</desc>
   </wpt>
   <wpt lat="42.355112800" lon="-71.065582200">
     <name>Boston Common</name>
     <cmt>Boston Common, Tremont Street, Boston, MA 02116, United
States</cmt>
     <desc>Boston Common, Tremont Street, Boston, MA 02116, United
States</desc>
   </wpt>
</gpx>


I'd really appreciate if someone could help.

Thank you.


JL


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't Interpolate

tsteven4-2
The interpolate filter works on tracks, not waypoints.

You can use the transform filter to create a track from your waypoints,
then use the interpolate filter.

See http://www.gpsbabel.org/htmldoc-development/filter_transform.html


On 7/18/2016 10:59 PM, James Lee wrote:

> Hi,
>
>
> I'm having a problem interpolating by distance. I created a test gpx
> file that has only two points, but my output is the same as input.
>
> I'm using GPSBabel Version 1.5.3, and here's my command.
>
> gpsbabel -i gpx -f map.gpx -x interpolate,distance=1k -o gpx -F newmap.gpx
>
> Here's the map.gpx.
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <gpx version="1.1" creator="GPSBabel - http://www.gpsbabel.org"
> xmlns="http://www.topografix.com/GPX/1/1"
> xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3"
> xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>     <metadata>
>       <time>2016-07-19T04:53:45.966Z</time>
>       <bounds minlat="42.345243400" minlon="-71.090298900"
> maxlat="42.355112800" maxlon="-71.065582200"/>
>     </metadata>
>     <wpt lat="42.345243400" lon="-71.090298900">
>       <name>40 Fenway</name>
>       <cmt>40 Fenway, Boston, MA 02215, USA</cmt>
>       <desc>40 Fenway, Boston, MA 02215, USA</desc>
>     </wpt>
>     <wpt lat="42.355112800" lon="-71.065582200">
>       <name>Boston Common</name>
>       <cmt>Boston Common, Tremont Street, Boston, MA 02116, United
> States</cmt>
>       <desc>Boston Common, Tremont Street, Boston, MA 02116, United
> States</desc>
>     </wpt>
> </gpx>
>
>
> I'd really appreciate if someone could help.
>
> Thank you.
>
>
> JL
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev
> _______________________________________________
> Gpsbabel-misc mailing list http://www.gpsbabel.org
> [hidden email]
> To unsubscribe, change list options, or see archives, visit:
> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Can't Interpolate

Robert Lipe-4
Thanx. I added an error for this case to make it easier for the next one to fall for this nuance.

On Tue, Jul 19, 2016 at 7:10 AM, tsteven4 <[hidden email]> wrote:
The interpolate filter works on tracks, not waypoints.

You can use the transform filter to create a track from your waypoints,
then use the interpolate filter.

See http://www.gpsbabel.org/htmldoc-development/filter_transform.html


On 7/18/2016 10:59 PM, James Lee wrote:
> Hi,
>
>
> I'm having a problem interpolating by distance. I created a test gpx
> file that has only two points, but my output is the same as input.
>
> I'm using GPSBabel Version 1.5.3, and here's my command.
>
> gpsbabel -i gpx -f map.gpx -x interpolate,distance=1k -o gpx -F newmap.gpx
>
> Here's the map.gpx.
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <gpx version="1.1" creator="GPSBabel - http://www.gpsbabel.org"
> xmlns="http://www.topografix.com/GPX/1/1"
> xmlns:gpxx="http://www.garmin.com/xmlschemas/GpxExtensions/v3"
> xmlns:gpxtpx="http://www.garmin.com/xmlschemas/TrackPointExtension/v1"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>     <metadata>
>       <time>2016-07-19T04:53:45.966Z</time>
>       <bounds minlat="42.345243400" minlon="-71.090298900"
> maxlat="42.355112800" maxlon="-71.065582200"/>
>     </metadata>
>     <wpt lat="42.345243400" lon="-71.090298900">
>       <name>40 Fenway</name>
>       <cmt>40 Fenway, Boston, MA 02215, USA</cmt>
>       <desc>40 Fenway, Boston, MA 02215, USA</desc>
>     </wpt>
>     <wpt lat="42.355112800" lon="-71.065582200">
>       <name>Boston Common</name>
>       <cmt>Boston Common, Tremont Street, Boston, MA 02116, United
> States</cmt>
>       <desc>Boston Common, Tremont Street, Boston, MA 02116, United
> States</desc>
>     </wpt>
> </gpx>
>
>
> I'd really appreciate if someone could help.
>
> Thank you.
>
>
> JL
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev
> _______________________________________________
> Gpsbabel-misc mailing list http://www.gpsbabel.org
> [hidden email]
> To unsubscribe, change list options, or see archives, visit:
> https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc


------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Gpsbabel-misc mailing list http://www.gpsbabel.org
[hidden email]
To unsubscribe, change list options, or see archives, visit:
https://lists.sourceforge.net/lists/listinfo/gpsbabel-misc
Loading...