Thursday, 20 June 2019

Openlayers draw multiple coordinates off KML data coming from the database


I am a pure beginner of openlayers, I have a KML data coming from the database which describes all the cordinates of zip code 45050, I would like to draw these coordinates onto openlayers map as boundaries and I want it colored as well. I am not pretty sure that my KML data is appropriate. Is there any easy way to do so? if so would you expose the solution.


Here is my KML data: -84.3398,39.4274,0 -84.3535,39.4283,0 -84.3539,39.4239,0 -84.3589,39.4241,0 -84.3661,39.4256,0 -84.3658,39.4287,0 -84.3838,39.4298,0 -84.3834,39.4336,0 -84.3783,39.4333,0 -84.3786,39.4338,0 -84.3836,39.437,0 -84.3941,39.4376,0 -84.3985,39.4418,0 -84.3932,39.4571,0 -84.393,39.465,0 -84.3934,39.4738,0 -84.389,39.4714,0 -84.39,39.4666,0 -84.3725,39.4679,0 -84.3649,39.4644,0 -84.3536,39.4632,0 -84.3527,39.464,0 -84.3491,39.4622,0 -84.337,39.4521,0 -84.337,39.4521,0 -84.3398,39.4274,0





No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...