svg-to-geojson icon indicating copy to clipboard operation
svg-to-geojson copied to clipboard

[Question] EIA map

Open fresm opened this issue 6 years ago • 0 comments

I hope that you tolerate asking a specific question!

I've tried to extract the jQuery SVG map (eia930map.js) from EIA Realtime Grid by injecting your script and running the following command (bbox = continental US):

var geoJson = svgtogeojson.svgToGeoJson(
  [[-124.78, 24.74], [-66.95, 49.35]],
  document.getElementById('mysvg'),
  3
);

but it returned an empty SVG. May you please tell me, whether my process is generally the right?

fresm avatar Mar 31 '18 09:03 fresm