How?
My cellular provider does not know where I am to 10m accuracy.
The way the iPhone determines your location is really a bag of tricks.
The last paragraph of this great article sums it up:
GPS is, in fact, rocket science at many levels. But the way in which Apple combines and supplements information from multiple sources to create a fast and accurate lock explains why to us as users its all GPS and just works.
*emphasis mine